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

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

Issue 286003004: Block tabs.executeScript() from executing until user grants permission (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 52733a682f8773268f70a5aaa9e10a85dee6ec06..0c01055d9f08223902918d559de1e724ac28ab07 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5962,6 +5962,26 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Extensions.ActiveScriptController.DeniedExtensions"
+ units="Extension Count">
+ <owner>kalman@chromium.org</owner>
+ <owner>rdevlin.cronin@chromium.org</owner>
+ <summary>
+ The number of extensions on a page that wanted to execute a script, required
+ explicit user consent, and were denied permission.
+ </summary>
+</histogram>
+
+<histogram name="Extensions.ActiveScriptController.PermittedExtensions"
+ units="Extension Count">
+ <owner>kalman@chromium.org</owner>
+ <owner>rdevlin.cronin@chromium.org</owner>
+ <summary>
+ The number of extensions on a page that wanted to execute a script, required
+ explicit user consent, and were granted permission.
+ </summary>
+</histogram>
+
<histogram name="Extensions.ActiveScriptController.PreventableAdInjectors"
units="Extension Count">
<owner>kalman@chromium.org</owner>

Powered by Google App Engine
This is Rietveld 408576698