Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index bf2dd23dba7c7ea3cddffb896bdcc83600b76347..f246913456e5acba76e459bda23f0374ff55c760 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -29884,6 +29884,9 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<histogram name="PageLoad.EventCounts" enum="PageLoadEvent"> |
<owner>csharrison@chromium.org</owner> |
<owner>bmcquade@chromium.org</owner> |
+ <obsolete> |
+ deprecated in favor of PageLoad.Events.* |
+ </obsolete> |
<summary> |
Captures counts of various page load events. These are enumerated in the |
enum page_load_metrics::PageLoadEvent, and include events like 'page load |
@@ -29891,6 +29894,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="PageLoad.Events.Committed" enum="CommittedLoadEvent"> |
+ <owner>csharrison@chromium.org</owner> |
+ <owner>bmcquade@chromium.org</owner> |
+ <summary> |
+ Captures counts of load events post-commit, on relevant page loads (i.e. |
+ http/https, not same-page, not an error page). These events include counts |
+ aborts before first layout, successful first layouts, and loads starting in |
+ background or foreground. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="PageLoad.Events.Provisional" enum="ProvisionalLoadEvent"> |
+ <owner>csharrison@chromium.org</owner> |
+ <owner>bmcquade@chromium.org</owner> |
+ <summary> |
+ Captures counts of provisional load events. These include aborted, failed, |
+ and successful (committed) provisional loads. |
+ </summary> |
+</histogram> |
+ |
<histogram name="PageLoad.Timing.NavigationToDOMContentLoadedEventFired" |
units="milliseconds"> |
<owner>bmcquade@chromium.org</owner> |
@@ -29939,6 +29962,28 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="PageLoad.Timing2.NavigationToFirstBackground" |
+ units="milliseconds"> |
+ <owner>bmcquade@chromium.org</owner> |
+ <owner>csharrison@chromium.org</owner> |
+ <summary> |
+ Measures the time from navigation timing's navigation start to the time the |
+ user first backgrounds the tab. Only measures navigations that started in |
+ the foreground. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="PageLoad.Timing2.NavigationToFirstForeground" |
+ units="milliseconds"> |
+ <owner>bmcquade@chromium.org</owner> |
+ <owner>csharrison@chromium.org</owner> |
+ <summary> |
+ Measures the time from navigation timing's navigation start to the time the |
+ user first foregrounds an initially backgrounded tab. Only measures |
+ navigations that started in the background. |
+ </summary> |
+</histogram> |
+ |
<histogram name="PageLoad.Timing2.NavigationToFirstLayout" units="milliseconds"> |
<owner>bmcquade@chromium.org</owner> |
<owner>csharrison@chromium.org</owner> |
@@ -53991,6 +54036,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<int value="505" label="505: HTTP Version Not Supported"/> |
</enum> |
+<enum name="CommittedLoadEvent" type="int"> |
+ <int value="0" label="Committed load aborted before first layout"/> |
+ <int value="1" label="Successful first layout fully foregrounded"/> |
+ <int value="2" |
+ label="Successful first layout at least partially backgrounded"/> |
+ <int value="3" label="Load started in foreground"/> |
+ <int value="4" label="Load started in background"/> |
+ <int value="5" label="Received a bad timing IPC"/> |
+</enum> |
+ |
<enum name="CompositedScrolling" type="int"> |
<int value="0" label="Is scrollable area"/> |
<int value="1" label="Needs to be stacking container"/> |
@@ -66843,6 +66898,10 @@ To add a new entry, add it with any value and run test to compute valid value. |
<int value="3" label="Aborted load before first layout"/> |
<int value="4" label="Successful first layout (foreground)"/> |
<int value="5" label="Successful first layout (backgrounded)"/> |
+ <int value="6" label="Aborted load before first layout (relevant page load)"/> |
+ <int value="7" label="Relevant page load started in foreground"/> |
+ <int value="8" label="Relevant page load started in backgound"/> |
+ <int value="9" label="Received a bad timing IPC"/> |
</enum> |
<enum name="PageScaleFactorRange" type="int"> |
@@ -68946,6 +69005,12 @@ To add a new entry, add it with any value and run test to compute valid value. |
<int value="5" label="SPDY 4.0"/> |
</enum> |
+<enum name="ProvisionalLoadEvent" type="int"> |
+ <int value="0" label="Provisional load aborted"/> |
+ <int value="1" label="Provisional load failed with a non-abort"/> |
+ <int value="2" label="Provisional load successfully committed"/> |
+</enum> |
+ |
<enum name="ProvisionalSaveFailure" type="int"> |
<int value="0" label="SAVING_DISABLED"/> |
<int value="1" label="EMPTY_PASSWORD"/> |