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

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

Issue 2245733004: Serve offline page for online URL on disconnected or bad networks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment in test Created 4 years, 4 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 | « chrome/test/data/offline_pages/test.mhtml ('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 2c328f37fe806b1ab54cb980b4b291297c4411fd..00e29948f9096ff55a4552368c973b80e4837cc7 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -37253,6 +37253,13 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="OfflinePages.AggregatedRequestResult"
+ enum="OfflinePagesAggregatedRequestResult">
+ <owner>dimich@chromium.org</owner>
+ <owner>jianli@chromium.org</owner>
+ <summary>Result of servicing requests that may contain offline page.</summary>
+</histogram>
+
<histogram name="OfflinePages.Background.OfflinerRequestStatus"
enum="OfflinePagesBackgroundOfflinerRequestStatus">
<owner>dougarnett@chromium.org</owner>
@@ -37560,6 +37567,9 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</histogram>
<histogram name="OfflinePages.RedirectResult" enum="OfflinePagesRedirectResult">
+ <obsolete>
+ Deprecated 8/2016. Use OfflinePages.RequestResult instead.
+ </obsolete>
<owner>dimich@chromium.org</owner>
<summary>
Result of automatic redirect to offline version of the page or back. Emitted
@@ -87724,6 +87734,21 @@ To add a new entry, add it with any value and run test to compute valid value.
label="Account was not seeded before FireRefreshTokenAvailable"/>
</enum>
+<enum name="OfflinePagesAggregatedRequestResult" type="int">
+ <int value="0" label="Show offline page on disconnected network"/>
+ <int value="1" label="Page not found on disconnected network"/>
+ <int value="2" label="Show offline page on flaky network"/>
+ <int value="3" label="Page not found on flaky network"/>
+ <int value="4" label="Show offline page on prohibitively slow network"/>
+ <int value="5" label="Page not found on prohibitively slow network"/>
+ <int value="6" label="Page not fresh on prohibitively slow network"/>
+ <int value="7" label="Show offline page on disconnected network"/>
+ <int value="8" label="Page not found on disconnected network"/>
+ <int value="9" label="Android Tab does not have persistent ID"/>
+ <int value="10" label="No web contents"/>
+ <int value="11" label="Unknown net error, showing error page"/>
+</enum>
+
<enum name="OfflinePagesBackgroundOfflinerRequestStatus" type="int">
<!-- Generated from components/offline_pages/background/offliner.h -->
@@ -87767,6 +87792,9 @@ To add a new entry, add it with any value and run test to compute valid value.
</enum>
<enum name="OfflinePagesRedirectResult" type="int">
+ <obsolete>
+ Deprecated 2016-08.
+ </obsolete>
<int value="0" label="Redirected on disconnected network"/>
<int value="1" label="Page not found on disconnected network"/>
<int value="2" label="Redirected on flaky network"/>
« no previous file with comments | « chrome/test/data/offline_pages/test.mhtml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698