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

Unified Diff: chrome/browser/ui/content_settings/content_setting_bubble_model.cc

Issue 2308933002: Plugin Power Saver Tiny: Add RAPPOR metric for new ALLOW exceptions. (Closed)
Patch Set: Created 4 years, 3 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/website_settings/website_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
index 276a8336a763e19f6bdfb3876af4134b7dd759e3..4204a26dfd356fb01cec0cb90019ee2ecaa1c783 100644
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
@@ -500,6 +500,10 @@ ContentSettingPluginBubbleModel::~ContentSettingPluginBubbleModel() {
content_settings::RecordPluginsAction(
content_settings::
PLUGINS_ACTION_CLICKED_ALWAYS_ALLOW_PLUGINS_ON_ORIGIN);
+ rappor::SampleDomainAndRegistryFromGURL(
+ rappor_service(), "ContentSettings.Plugins.AddedAllowException",
+ web_contents()->GetLastCommittedURL());
+
RunPluginsOnPage();
}
}
« no previous file with comments | « no previous file | chrome/browser/ui/website_settings/website_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698