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

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

Issue 240613004: Add UMA logging of extension creation flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add kInitFromValueFlagBits Created 6 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 | « extensions/common/extension.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 745be182ff365e83f17293621560a2ecb1c2fc83..1b0b2edd21d6be996a8e50f2af6071f5b87d0a72 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6135,6 +6135,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Extensions.LoadCreationFlags" enum="ExtensionCreationFlags">
+ <owner>calamity@chromium.org</owner>
+ <summary>
+ The creation flags of all extensions loaded at startup time grouped by
+ Extension::InitFromValueFlags.
+ </summary>
+</histogram>
+
<histogram name="Extensions.LoadExtension">
<owner>Please list the metric's owners. Add more owner tags as needed.</owner>
<summary>The number of extensions loaded at browser startup.</summary>
@@ -33127,6 +33135,20 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="2" label="Event Page"/>
</enum>
+<enum name="ExtensionCreationFlags" type="int">
+ <int value="0" label="REQUIRE_KEY"/>
+ <int value="1" label="REQUIRE_MODERN_MANIFEST_VERSION"/>
+ <int value="2" label="ALLOW_FILE_ACCESS"/>
+ <int value="3" label="FROM_WEBSTORE"/>
+ <int value="4" label="FROM_BOOKMARK"/>
+ <int value="5" label="FOLLOW_SYMLINKS_ANYWHERE"/>
+ <int value="6" label="ERROR_ON_PRIVATE_KEY"/>
+ <int value="7" label="WAS_INSTALLED_BY_DEFAULT"/>
+ <int value="8" label="REQUIRE_PERMISSIONS_CONSENT"/>
+ <int value="9" label="IS_EPHEMERAL"/>
+ <int value="10" label="WAS_INSTALLED_BY_OEM"/>
+</enum>
+
<enum name="ExtensionDisabledUIUserResponse" type="int">
<int value="0" label="IGNORED"/>
<int value="1" label="REENABLE"/>
« no previous file with comments | « extensions/common/extension.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698