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

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

Issue 106713004: Remove kEnableResourceContentSettings and all the code that uses it since it's been behind a flag f… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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/popup_blocker_tab_helper.cc
===================================================================
--- chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc (revision 239860)
+++ chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc (working copy)
@@ -96,7 +96,7 @@
if (blocked_popups_.size() < kMaximumNumberOfPopups) {
blocked_popups_.Add(new BlockedRequest(params, window_features));
TabSpecificContentSettings::FromWebContents(web_contents())->
- OnContentBlocked(CONTENT_SETTINGS_TYPE_POPUPS, std::string());
+ OnContentBlocked(CONTENT_SETTINGS_TYPE_POPUPS);
}
return true;
}
@@ -109,7 +109,7 @@
if (blocked_popups_.size() < kMaximumNumberOfPopups) {
blocked_popups_.Add(new BlockedRequest(nav_params, params.features()));
TabSpecificContentSettings::FromWebContents(web_contents())->
- OnContentBlocked(CONTENT_SETTINGS_TYPE_POPUPS, std::string());
+ OnContentBlocked(CONTENT_SETTINGS_TYPE_POPUPS);
}
}

Powered by Google App Engine
This is Rietveld 408576698