diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-06 15:47:38 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-06 15:47:38 +0000 |
commit | bd1696d82cc76597b926df22568ac69555069ffc (patch) | |
tree | c152dabbcc10a3cc61f11a6d70edce8f300b6381 /chrome/browser/content_setting_bubble_model.cc | |
parent | 3bf7ebd20495e943147815b28289414116ef3c35 (diff) | |
download | chromium_src-bd1696d82cc76597b926df22568ac69555069ffc.zip chromium_src-bd1696d82cc76597b926df22568ac69555069ffc.tar.gz chromium_src-bd1696d82cc76597b926df22568ac69555069ffc.tar.bz2 |
Add user metrics for nonsandboxed plugin infobar.
BUG=52341
TEST=none
Review URL: http://codereview.chromium.org/3303003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/content_setting_bubble_model.cc')
-rw-r--r-- | chrome/browser/content_setting_bubble_model.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/content_setting_bubble_model.cc b/chrome/browser/content_setting_bubble_model.cc index ba36e4d..ed0700a 100644 --- a/chrome/browser/content_setting_bubble_model.cc +++ b/chrome/browser/content_setting_bubble_model.cc @@ -10,6 +10,7 @@ #include "chrome/browser/blocked_popup_container.h" #include "chrome/browser/geolocation/geolocation_content_settings_map.h" #include "chrome/browser/host_content_settings_map.h" +#include "chrome/browser/metrics/user_metrics.h" #include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/profile.h" #include "chrome/browser/renderer_host/render_view_host.h" @@ -298,6 +299,7 @@ class ContentSettingPluginBubbleModel : public ContentSettingSingleRadioGroup { virtual void OnLoadPluginsLinkClicked() { DCHECK(!CommandLine::ForCurrentProcess()->HasSwitch( switches::kDisableClickToPlay)); + UserMetrics::RecordAction(UserMetricsAction("ClickToPlay_LoadAll_Bubble")); if (tab_contents()) { tab_contents()->render_view_host()->LoadBlockedPlugins(); } |