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

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

Issue 412003003: Additional metrics for disabled extensions and content verification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged latest origin/master Created 6 years, 5 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 | « extensions/common/extension.h ('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 316fca0710846a55b33f734779e133b9d8726142..72cdce322a18e527ed67bac0cb82ec4eb721d574 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6623,6 +6623,31 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Extensions.CorruptExtensionBecameDisabled">
+ <owner>asargent@chromium.org</owner>
+ <summary>
+ Fired each time an extension was detected to be corrupted (contents not
+ matching an expected content hash from the webstore) and was disabled.
+ </summary>
+</histogram>
+
+<histogram name="Extensions.CorruptExtensionTotalDisables">
+ <owner>asargent@chromium.org</owner>
+ <summary>
+ Logged once at startup, this is the value of a counter that is incremented
+ anytime we disable a corrupted extension because its content didn't match an
+ expected content hash.
+ </summary>
+</histogram>
+
+<histogram name="Extensions.CorruptExtensionWouldBeDisabled">
+ <owner>asargent@chromium.org</owner>
+ <summary>
+ Simiar to Extensions.CorruptExtensionBecameDisabled, but fires when we're in
+ a bootstrapping mode and would have disabled an extension.
+ </summary>
+</histogram>
+
<histogram name="Extensions.CrxFetchError" enum="NetErrorCodes">
<owner>Please list the metric's owners. Add more owner tags as needed.</owner>
<summary>Net error results from URLFetcher.</summary>
@@ -6720,6 +6745,17 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Extensions.DisableReason" enum="ExtensionDisableReason">
+ <owner>asargent@chromium.org</owner>
+ <summary>
+ The count of disabled extensions at startup grouped by disble reason from
+ Extension::DisableReason. When an extension is disabled, it can be for one
+ or more reasons (although typically just one), so the sum of these may be
+ greater than 'Extensions.Disabled' which is a count of the number of unique
+ extensions that are disabled.
+ </summary>
+</histogram>
+
<histogram name="Extensions.ErrorCodeFromCrxOpen">
<owner>Please list the metric's owners. Add more owner tags as needed.</owner>
<summary>
@@ -38208,6 +38244,22 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="2" label="UNINSTALL"/>
</enum>
+<enum name="ExtensionDisableReason" type="int">
+ <int value="0" label="UNKNOWN"/>
+ <int value="1" label="USER_ACTION"/>
+ <int value="2" label="PERMISSIONS_INCREASE"/>
+ <int value="4" label="RELOAD"/>
+ <int value="8" label="UNSUPPORTED_REQUIREMENT"/>
+ <int value="16" label="SIDELOAD_WIPEOUT"/>
+ <int value="32" label="UNKNOWN_FROM_SYNC"/>
+ <int value="64" label="DEPRECATED_PERMISSIONS_CONSENT"/>
+ <int value="128" label="DEPRECATED_KNOWN_DISABLED"/>
+ <int value="256" label="NOT_VERIFIED"/>
+ <int value="512" label="GREYLIST"/>
+ <int value="1024" label="CORRUPTED"/>
+ <int value="2048" label="REMOTE_INSTALL"/>
+</enum>
+
<enum name="ExtensionFileWriteResult" type="int">
<obsolete>
Deprecated 10/2013.
« no previous file with comments | « extensions/common/extension.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698