Index: chrome/browser/content_settings/tab_specific_content_settings.h |
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.h b/chrome/browser/content_settings/tab_specific_content_settings.h |
index 1948126ae763fc5ec33bf00db880477894180863..c79c16b6a4011b3d29c87866597dd342b9506063 100644 |
--- a/chrome/browser/content_settings/tab_specific_content_settings.h |
+++ b/chrome/browser/content_settings/tab_specific_content_settings.h |
@@ -55,6 +55,17 @@ class TabSpecificContentSettings |
static const MicrophoneCameraState CAMERA_ACCESSED = 1 << 2; |
static const MicrophoneCameraState CAMERA_BLOCKED = 1 << 3; |
+ // UMA statistics for the mixed content shield |
+ enum { |
+ MIXEDSCRIPT_DISPLAYED_SHIELD = 0, |
+ MIXEDSCRIPT_DISPLAYED_BUBBLE, |
+ MIXEDSCRIPT_CLICKED_ALLOW, |
+ MIXEDSCRIPT_CLICKED_LEARN_MORE, |
+ MIXEDSCRIPT_NUM_ACTIONS |
+ }; |
+ |
+ static void RecordMixedScriptAction(int action); |
Ilya Sherman
2014/10/16 22:05:13
nit: Please give the enum a name, and set the vari
|
+ |
// Classes that want to be notified about site data events must implement |
// this abstract class and add themselves as observer to the |
// |TabSpecificContentSettings|. |