Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 2877333004: UMA for measuring how often 2 or more tabs script the same background contents.
Patch Set: No PostDelayedTask and checking if opener is a hosted app Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index e70d96f68604095edb1dddee7eb53ea855694a83..5b3af06460dd9e4ff700fd26995eb9239d28b574 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -19246,6 +19246,22 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Extensions.HostedAppOpenedBackgroundContentsFromTwoOpeners"
+ enum="Boolean">
+ <owner>lukasza@chromium.org</owner>
+ <owner>nick@chromium.org</owner>
+ <summary>
+ Records when the call to window.open(..., ..., 'background') is done 1) from
+ a hosted app with a background permission and with allow_js_access
+ unspecified or set to true, 2) from a different opener, while one of
+ previous openers (which also has to be a hosted app) is still alive.
+
+ This metric is primarily useful for determining if it is feasible to always
+ use a separate renderer process for background contents (see also
+ https://crbug.com/721947).
+ </summary>
+</histogram>
+
<histogram name="Extensions.HostedAppUnlimitedStoragePersistentStorageUsage"
units="KB">
<owner>rdevlin.cronin@chromium.org</owner>
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698