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

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

Issue 2516473002: Cross-origin iframes: collect data under hypothetical loading strategies (Closed)
Patch Set: Created 4 years, 1 month 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 8ec129b1e59e24d51c4d9e9fe5db52c100f55d50..a667085e0d9d55bae3585c98ff4cf7284cccdcde 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -27771,6 +27771,9 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<histogram name="Navigation.DeferredDocumentLoading.StatesV3"
enum="DocumentStateForDeferredLoadingV3">
+ <obsolete>
+ Deprecated 11/2016 in favor of Navigation.DeferredDocumentLoading.StatesV4.
+ </obsolete>
<owner>dgrogan@chromium.org</owner>
<summary>
Why and if cross-origin documents would be loaded if we were to defer
@@ -27780,6 +27783,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Navigation.DeferredDocumentLoading.StatesV4"
+ enum="DocumentStateForDeferredLoadingV4">
+ <owner>dgrogan@chromium.org</owner>
+ <summary>
+ Why and if cross-origin documents would be loaded if we were to defer
+ loading as long as possible. Changes from V3: replace detailed reasons with
+ summaries for four strategies. E.g. any document that would load under a
+ strategy of loading when a frame is two screens away is logged to the
+ WouldLoad2Screens AND WouldLoad3Screens bucket.
+ </summary>
+</histogram>
+
<histogram name="Navigation.EngagementTime.HTTP" units="ms">
<owner>felt@chromium.org</owner>
<summary>
@@ -79991,6 +80006,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="7" label="WouldLoadVisible"/>
</enum>
+<enum name="DocumentStateForDeferredLoadingV4" type="int">
+ <int value="0" label="Invalid"/>
+ <int value="1" label="Created"/>
+ <int value="2" label="WouldLoad3ScreensAway"/>
+ <int value="3" label="WouldLoad2ScreensAway"/>
+ <int value="4" label="WouldLoad1ScreensAway"/>
+ <int value="5" label="WouldVisible"/>
+ <int value="6" label="WouldLoadNoParent"/>
+</enum>
+
<enum name="DocumentWriteGatedEvaluation" type="int">
<int value="0" label="Script too long"/>
<int value="1" label="No likely external script write"/>

Powered by Google App Engine
This is Rietveld 408576698