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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 645203002: Block NPAPI plugins by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add NPAPI UMA histogram Created 5 years, 11 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 ce3a686b7caf30643587b7072c61e6f2ed65d9f6..fcdbc0303c924a1ac408bb4025717f64a511ed20 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -25866,6 +25866,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>Collects Flash usage data.</summary>
</histogram>
+<histogram name="Plugin.NPAPIStatus" enum="NPAPIPluginStatus">
+ <owner>wfh@chromium.org</owner>
+ <summary>
+ Records whether NPAPI plugins are supported by the platform, and if so,
+ whether they are enabled or disabled. Recorded once at browser startup.
+ </summary>
+</histogram>
+
<histogram name="Plugin.PowerSaver.PeripheralHeuristic"
enum="PluginPowerSaverPeripheralHeuristicDecision">
<owner>tommycli@chromium.org</owner>
@@ -50244,6 +50252,7 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="-1218608640" label="disable-offline-load-stale-cache"/>
<int value="-1212273428" label="enable-experimental-app-list"/>
<int value="-1201183153" label="enable-centered-app-list"/>
+ <int value="-1184904651" label="enable-npapi"/>
<int value="-1177802205" label="enable-hosted-app-quit-notification"/>
<int value="-1172204005" label="enable-offline-auto-reload-visible-only"/>
<int value="-1159563774" label="enable-accessibility-script-injection"/>
@@ -52365,6 +52374,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="7" label="Notification closed by system"/>
</enum>
+<enum name="NPAPIPluginStatus" type="int">
+ <int value="0" label="Unsupported">
+ NPAPI is not supported on this platform
+ </int>
+ <int value="1" label="Disabled">NPAPI is disabled</int>
+ <int value="2" label="Enabled">NPAPI is enabled</int>
+</enum>
+
<enum name="NtpFollowAction" type="int">
<int value="0" label="PAGE_TRANSITION_LINK"/>
<int value="1" label="PAGE_TRANSITION_TYPED"/>
« content/browser/plugin_service_impl.cc ('K') | « content/test/plugin/plugin_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698