diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 11:14:09 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 11:14:09 +0000 |
commit | ca352454df9a2c6dac0dd5927c92d73d4eee069d (patch) | |
tree | f8eae8e9d64812c7b284415fcb6ee11cc1aff9fc /chrome/browser/net | |
parent | dc3d06cd952e621bf64f3abe46e1c3eaa6598064 (diff) | |
download | chromium_src-ca352454df9a2c6dac0dd5927c92d73d4eee069d.zip chromium_src-ca352454df9a2c6dac0dd5927c92d73d4eee069d.tar.gz chromium_src-ca352454df9a2c6dac0dd5927c92d73d4eee069d.tar.bz2 |
Introduce a resource identifier for content settings.
This will allow for having per plugin content settings, i.e. the content settings type would be plugin and the resource identifier would be to concrete plugin that is about to be loaded.
BUG=39252
TEST=unit_tests
Review URL: http://codereview.chromium.org/2878075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55213 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r-- | chrome/browser/net/chrome_cookie_policy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/net/chrome_cookie_policy.cc b/chrome/browser/net/chrome_cookie_policy.cc index 552fec7..52325fd 100644 --- a/chrome/browser/net/chrome_cookie_policy.cc +++ b/chrome/browser/net/chrome_cookie_policy.cc @@ -139,7 +139,7 @@ int ChromeCookiePolicy::CanSetCookie(const GURL& url, int ChromeCookiePolicy::CheckPolicy(const GURL& url) const { ContentSetting setting = host_content_settings_map_->GetContentSetting( - url, CONTENT_SETTINGS_TYPE_COOKIES); + url, CONTENT_SETTINGS_TYPE_COOKIES, ""); if (setting == CONTENT_SETTING_BLOCK) return net::ERR_ACCESS_DENIED; if (setting == CONTENT_SETTING_ALLOW) |