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

Unified Diff: chrome/browser/extensions/extension_special_storage_policy.cc

Issue 7831075: Delegating the "are images allowed" decision to renderer. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: More code review comments. Created 9 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
Index: chrome/browser/extensions/extension_special_storage_policy.cc
diff --git a/chrome/browser/extensions/extension_special_storage_policy.cc b/chrome/browser/extensions/extension_special_storage_policy.cc
index de58fb9c77a14c0c17891fa38236d3b5e3e6a59a..16f09874ee2b7384353c7a64f3fe6a248bf419f0 100644
--- a/chrome/browser/extensions/extension_special_storage_policy.cc
+++ b/chrome/browser/extensions/extension_special_storage_policy.cc
@@ -44,9 +44,9 @@ bool ExtensionSpecialStoragePolicy::HasSessionOnlyOrigins() {
if (host_content_settings_map_->GetDefaultContentSetting(
CONTENT_SETTINGS_TYPE_COOKIES) == CONTENT_SETTING_SESSION_ONLY)
return true;
- HostContentSettingsMap::SettingsForOneType entries;
+ ContentSettingsForOneType entries;
host_content_settings_map_->GetSettingsForOneType(
- CONTENT_SETTINGS_TYPE_COOKIES, "", &entries);
+ CONTENT_SETTINGS_TYPE_COOKIES, "", NULL, &entries);
for (size_t i = 0; i < entries.size(); ++i) {
if (entries[i].c == CONTENT_SETTING_SESSION_ONLY)
return true;

Powered by Google App Engine
This is Rietveld 408576698