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

Unified Diff: chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc

Issue 7558024: Add UMA metrics for blocked plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 4 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
Index: chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc
diff --git a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc
index 3e4e257e2126ea634f0d92a2e31a31b44a87c399..f61396baca07b87e9c66ebb90bc6509d33938839 100644
--- a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc
+++ b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc
@@ -104,7 +104,7 @@ void BlockedContentTabHelper::AddPopup(TabContentsWrapper* new_contents,
initial_pos,
true); // user_gesture
tab_contents_wrapper_->content_settings()->OnContentBlocked(
- CONTENT_SETTINGS_TYPE_POPUPS, std::string());
+ CONTENT_SETTINGS_TYPE_POPUPS, std::string(), CONTENT_SETTING_BLOCK);
}
}

Powered by Google App Engine
This is Rietveld 408576698