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

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

Issue 1117263002: Switch on-demand update checks to the less-old GoogleUpdate3 API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync to position 329622 Created 5 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index a9f572532bc854403a8bf3e4d59b835c324677f6..7e32bf9efcd87cc09dcac50fe7b81352ba0034c2 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -11893,6 +11893,25 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="GoogleUpdate.InstallerExitCode" enum="InstallStatus">
+ <owner>grt@chromium.org</owner>
+ <summary>
+ The exit code from Chrome's installer following a failed on-demand update
+ check. All values reported for this histogram fall in the
+ GOOGLE_UPDATE_ERROR_UPDATING bucket of the GoogleUpdate.UpdateErrorCode
+ histogram and the GOOPDATEINSTALL_E_INSTALLER_FAILED bucket of the
+ GoogleUpdate.ErrorHresult histogram.
+ </summary>
+</histogram>
+
+<histogram name="GoogleUpdate.UnexpectedState">
+ <owner>grt@chromium.org</owner>
+ <summary>
+ An unrecognized CurrentState value received from Google Update while polling
+ for the status of an on-demand update check.
+ </summary>
+</histogram>
+
<histogram name="GoogleUpdate.UpdateErrorCode" enum="GoogleUpdateErrorCode">
<owner>grt@chromium.org</owner>
<summary>The error code for a failed on-demand update check.</summary>
@@ -11907,7 +11926,7 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
-<histogram name="GoogleUpdate.UpgradeResult" enum="GoogleUpdateUpgradeResult">
+<histogram name="GoogleUpdate.UpgradeResult" enum="GoogleUpdateUpgradeStatus">
<owner>grt@chromium.org</owner>
<summary>The result of an on-demand update check.</summary>
</histogram>
@@ -54316,7 +54335,7 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="3" label="InfoBar dismissed implicitly (no interaction)"/>
</enum>
-<enum name="GoogleUpdateUpgradeResult" type="int">
+<enum name="GoogleUpdateUpgradeStatus" type="int">
<int value="0" label="UPGRADE_STARTED"/>
<int value="1" label="UPGRADE_CHECK_STARTED"/>
<int value="2" label="UPGRADE_IS_AVAILABLE"/>
@@ -54529,6 +54548,8 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="-2147467262" label="E_NOINTERFACE"/>
<int value="-2147417848" label="RPC_E_DISCONNECTED"/>
<int value="-2147221164" label="REGDB_E_CLASSNOTREG"/>
+ <int value="-2147219437" label="GOOPDATE_E_APP_UPDATE_DISABLED_BY_POLICY"/>
+ <int value="-2147219198" label="GOOPDATEINSTALL_E_INSTALLER_FAILED"/>
<int value="-2147024894" label="ERROR_FILE_NOT_FOUND"/>
<int value="-2147024893" label="ERROR_PATH_NOT_FOUND"/>
<int value="-2147024891" label="ERROR_ACCESS_DENIED"/>
@@ -55120,6 +55141,55 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="35" label="Ran by google.com/intl/"/>
</enum>
+<enum name="InstallStatus" type="int">
+ <int value="0" label="FIRST_INSTALL_SUCCESS"/>
+ <int value="1" label="INSTALL_REPAIRED"/>
+ <int value="2" label="NEW_VERSION_UPDATED"/>
+ <int value="3" label="EXISTING_VERSION_LAUNCHED"/>
+ <int value="4" label="HIGHER_VERSION_EXISTS"/>
+ <int value="5" label="USER_LEVEL_INSTALL_EXISTS"/>
+ <int value="6" label="SYSTEM_LEVEL_INSTALL_EXISTS"/>
+ <int value="7" label="INSTALL_FAILED"/>
+ <int value="8" label="SETUP_PATCH_FAILED"/>
+ <int value="9" label="OS_NOT_SUPPORTED"/>
+ <int value="10" label="OS_ERROR"/>
+ <int value="11" label="TEMP_DIR_FAILED"/>
+ <int value="12" label="UNCOMPRESSION_FAILED"/>
+ <int value="13" label="INVALID_ARCHIVE"/>
+ <int value="14" label="INSUFFICIENT_RIGHTS"/>
+ <int value="15" label="CHROME_NOT_INSTALLED"/>
+ <int value="16" label="CHROME_RUNNING"/>
+ <int value="17" label="UNINSTALL_CONFIRMED"/>
+ <int value="18" label="UNINSTALL_DELETE_PROFILE"/>
+ <int value="19" label="UNINSTALL_SUCCESSFUL"/>
+ <int value="20" label="UNINSTALL_FAILED"/>
+ <int value="21" label="UNINSTALL_CANCELLED"/>
+ <int value="22" label="UNKNOWN_STATUS"/>
+ <int value="23" label="RENAME_SUCCESSFUL"/>
+ <int value="24" label="RENAME_FAILED"/>
+ <int value="25" label="EULA_REJECTED"/>
+ <int value="26" label="EULA_ACCEPTED"/>
+ <int value="27" label="EULA_ACCEPTED_OPT_IN"/>
+ <int value="28" label="INSTALL_DIR_IN_USE"/>
+ <int value="29" label="UNINSTALL_REQUIRES_REBOOT"/>
+ <int value="30" label="IN_USE_UPDATED"/>
+ <int value="31" label="SAME_VERSION_REPAIR_FAILED"/>
+ <int value="32" label="REENTRY_SYS_UPDATE"/>
+ <int value="33" label="SXS_OPTION_NOT_SUPPORTED"/>
+ <int value="42" label="APPLY_DIFF_PATCH_FAILED"/>
+ <int value="47" label="INVALID_STATE_FOR_OPTION"/>
+ <int value="48" label="WAIT_FOR_EXISTING_FAILED"/>
+ <int value="49" label="PATCH_INVALID_ARGUMENTS"/>
+ <int value="50" label="DIFF_PATCH_SOURCE_MISSING"/>
+ <int value="51" label="UNUSED_BINARIES"/>
+ <int value="52" label="UNUSED_BINARIES_UNINSTALLED"/>
+ <int value="53" label="UNSUPPORTED_OPTION"/>
+ <int value="54" label="CPU_NOT_SUPPORTED"/>
+ <int value="55" label="REENABLE_UPDATES_SUCCEEDED"/>
+ <int value="56" label="REENABLE_UPDATES_FAILED"/>
+ <int value="57" label="UNPACKING_FAILED"/>
+</enum>
+
<enum name="InstantControllerEvent" type="int">
<int value="0" label="URL_ADDED_TO_BLACKLIST"/>
<int value="1" label="URL_REMOVED_FROM_BLACKLIST"/>

Powered by Google App Engine
This is Rietveld 408576698