commit | 8e03207600c9a0c6fef880c6996ad3edb59f7abb | [log] [tgz] |
---|---|---|
author | Tsuyoshi Horo <[email protected]> | Thu Nov 16 00:09:21 2017 |
committer | Commit Bot <[email protected]> | Thu Nov 16 00:09:21 2017 |
tree | 15093ab210b62b06669d9271527baebc835b9ffb | |
parent | 54eed3302edef045f45053c98f1be4c52def3822 [diff] [blame] |
Add RendererMemoryTiming UMA for ServiceWorkerControlledMainFrames We want to use these metrics to measure the memory impact of PWAFullCodeCache. BUG=768705 Change-Id: I1d3f669d0aca6ebd544ed6a05a0bb373a3fa2ddf Reviewed-on: https://chromium-review.googlesource.com/771110 Commit-Queue: Tsuyoshi Horo <[email protected]> Reviewed-by: Alexei Svitkine <[email protected]> Reviewed-by: Kunihiko Sakamoto <[email protected]> Reviewed-by: Keishi Hattori <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Cr-Commit-Position: refs/heads/master@{#516908}
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h index 7789f472..8764ef3 100644 --- a/content/renderer/render_frame_impl.h +++ b/content/renderer/render_frame_impl.h
@@ -1255,6 +1255,9 @@ // Whether or not a navigation in this frame consumes user gestures. bool ConsumeGestureOnNavigation() const; + // Whether or not the frame is controlled by a service worker. + bool IsControlledByServiceWorker(); + mojom::URLLoaderFactory* custom_url_loader_factory() { return custom_url_loader_factory_.get(); }