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

Unified Diff: chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.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/android/content_settings/popup_blocked_infobar_delegate.cc
===================================================================
--- chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc (revision 239860)
+++ chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc (working copy)
@@ -75,8 +75,7 @@
Profile* profile = Profile::FromBrowserContext(
web_contents()->GetBrowserContext());
profile->GetHostContentSettingsMap()->AddExceptionForURL(
- url, url, CONTENT_SETTINGS_TYPE_POPUPS, std::string(),
- CONTENT_SETTING_ALLOW);
+ url, url, CONTENT_SETTINGS_TYPE_POPUPS, CONTENT_SETTING_ALLOW);
// Launch popups.
PopupBlockerTabHelper* popup_blocker_helper =
« no previous file with comments | « chrome/browser/plugins/plugin_infobar_delegates.cc ('k') | chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698