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

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

Issue 2015793002: [Offline Pages] Linking storage manager and model with UMAs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wisp
Patch Set: fixing typo in histograms.xml Created 4 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 | « components/offline_pages/offline_page_storage_manager.cc ('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 9cbd0bffc8fa2e91116459f6193caf4f90dc9630..49c452206f44eec4997ab649dfa11b002acc9d86 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -34758,6 +34758,12 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Status code of wiping out the offline page data.</summary>
</histogram>
+<histogram name="OfflinePages.ClearStorageResult"
+ enum="OfflinePagesClearStorageResult">
+ <owner>romax@chromium.org</owner>
+ <summary>Result of asking storage manager to clear storage.</summary>
+</histogram>
+
<histogram name="OfflinePages.DeletePage.AccessCount">
<owner>jianli@chromium.org</owner>
<summary>
@@ -34842,6 +34848,31 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="OfflinePages.ExpirePage.BatchSize">
+ <owner>romax@chromium.org</owner>
+ <summary>Number of pages that are expired in a batch.</summary>
+</histogram>
+
+<histogram name="OfflinePages.ExpirePage.PageLifetime" units="minutes">
+ <owner>romax@chromium.org</owner>
+ <summary>
+ Length of time between when an offline page was created and was expired.
+ </summary>
+</histogram>
+
+<histogram name="OfflinePages.ExpirePage.StoreUpdateResult"
+ enum="BooleanSuccess">
+ <owner>romax@chromium.org</owner>
+ <summary>Result of updating expired page in store.</summary>
+</histogram>
+
+<histogram name="OfflinePages.ExpirePage.TimeSinceLastAccess" units="minutes">
+ <owner>romax@chromium.org</owner>
+ <summary>
+ Length of time between when an offline page was last opened and was expired.
+ </summary>
+</histogram>
+
<histogram name="OfflinePages.Filter.OnlineWhenEntering" enum="Boolean">
<obsolete>
Deprecated 5/2016. Offline pages no longer depend on bookmarks UI.
@@ -81670,6 +81701,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="2" label="Store reload failed"/>
</enum>
+<enum name="OfflinePagesClearStorageResult" type="int">
+ <int value="0" label="Success"/>
+ <int value="1" label="Unnecessary to clean"/>
+ <int value="2" label="Page expiration failed"/>
+ <int value="3" label="Page record deletion failed"/>
+ <int value="4" label="Both expiration and deletion failed"/>
+</enum>
+
<enum name="OfflinePagesDeletePageResult" type="int">
<int value="0" label="Success"/>
<int value="1" label="Cancelled"/>
@@ -94936,6 +94975,8 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="OfflinePages.DeletePage.LastOpenToCreated"/>
<affected-histogram name="OfflinePages.DeletePage.PageSize"/>
<affected-histogram name="OfflinePages.DeletePage.TimeSinceLastOpen"/>
+ <affected-histogram name="OfflinePages.ExpirePage.PageLifetime"/>
+ <affected-histogram name="OfflinePages.ExpirePage.TimeSinceLastAccess"/>
<affected-histogram name="OfflinePages.FirstOpenSinceCreated"/>
<affected-histogram name="OfflinePages.OpenSinceLastOpen"/>
<affected-histogram name="OfflinePages.PageLifetime"/>
« no previous file with comments | « components/offline_pages/offline_page_storage_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698