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

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

Issue 2333853002: Support --delete-old-versions in setup.exe. (Closed)
Patch Set: CR grt/rkaplow #8-9 Created 4 years, 2 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/installer/util/util_constants.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 6b38741b1c42684cbc4efe6a3a8ca52982f8d5a9..11b026a9179c0f64967da7704b807d5c93301d6e 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -56413,6 +56413,34 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Setup.Install.NumDeleteOldVersionsAttemptsBeforeAbort"
+ units="Attempts">
+ <owner>fdoray@chromium.org</owner>
+ <summary>
+ Number of calls to DeleteOldVerions() made by a --delete-old-versions
+ process that didn't delete all files that belong to old versions of Chrome.
+ A --delete-old-versions process exits when another process tries to acquire
+ the SetupSingleton or after too many unsuccessful attempts to delete all old
+ files. A --delete-old-versions process that successfully acquires the
+ SetupSingleton records to either the
+ Setup.Install.NumDeleteOldVersionsAttemptsBeforeAbort histogram or the
+ Setup.Install.NumDeleteOldVersionsAttemptsBeforeSuccess histogram.
+ </summary>
+</histogram>
+
+<histogram name="Setup.Install.NumDeleteOldVersionsAttemptsBeforeSuccess"
+ units="Attempts">
+ <owner>fdoray@chromium.org</owner>
+ <summary>
+ Number of calls to DeleteOldVersions() made by a --delete-old-versions
+ process that successfully deleted all files that belong to old versions of
+ Chrome. A --delete-old-versions process that successfully acquires the
+ SetupSingleton records to either the
+ Setup.Install.NumDeleteOldVersionsAttemptsBeforeAbort histogram or the
+ Setup.Install.NumDeleteOldVersionsAttemptsBeforeSuccess histogram.
+ </summary>
+</histogram>
+
<histogram name="Setup.Install.PeakPagefileUsage" units="KB">
<owner>huangs@chromium.org</owner>
<summary>
@@ -86376,6 +86404,9 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="58" label="IN_USE_DOWNGRADE"/>
<int value="59" label="OLD_VERSION_DOWNGRADE"/>
<int value="60" label="SETUP_SINGLETON_ACQUISITION_FAILED"/>
+ <int value="61" label="SETUP_SINGLETON_RELEASED"/>
+ <int value="62" label="DELETE_OLD_VERSIONS_SUCCESS"/>
+ <int value="63" label="DELETE_OLD_VERSIONS_TOO_MANY_ATTEMPTS"/>
</enum>
<enum name="InstantControllerEvent" type="int">
« no previous file with comments | « chrome/installer/util/util_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698