diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 07:17:09 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 07:17:09 +0000 |
commit | 19ffb7df15fbe0e68f9af32fd8f049a6f38b5ba7 (patch) | |
tree | a179e2c5fd99b68df22f9464b50426e70be6b8f3 /chrome/browser/net | |
parent | 944e9d5495ded27bd4f8be42285d44401a67b760 (diff) | |
download | chromium_src-19ffb7df15fbe0e68f9af32fd8f049a6f38b5ba7.zip chromium_src-19ffb7df15fbe0e68f9af32fd8f049a6f38b5ba7.tar.gz chromium_src-19ffb7df15fbe0e68f9af32fd8f049a6f38b5ba7.tar.bz2 |
Don't claim we would always block cookies, since there are always exceptions.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3158016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56491 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r-- | chrome/browser/net/chrome_url_request_context.cc | 7 | ||||
-rw-r--r-- | chrome/browser/net/chrome_url_request_context.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc index 5d818ee..7c5031f 100644 --- a/chrome/browser/net/chrome_url_request_context.cc +++ b/chrome/browser/net/chrome_url_request_context.cc @@ -863,13 +863,6 @@ void ChromeURLRequestContext::OnUnloadedExtension(const std::string& id) { } } -bool ChromeURLRequestContext::AreCookiesEnabled() const { - ContentSetting setting = - host_content_settings_map_->GetDefaultContentSetting( - CONTENT_SETTINGS_TYPE_COOKIES); - return setting != CONTENT_SETTING_BLOCK; -} - ChromeURLRequestContext::ChromeURLRequestContext( ChromeURLRequestContext* other) { CheckCurrentlyOnIOThread(); diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h index 06c2b80..f64700c 100644 --- a/chrome/browser/net/chrome_url_request_context.h +++ b/chrome/browser/net/chrome_url_request_context.h @@ -133,9 +133,6 @@ class ChromeURLRequestContext : public URLRequestContext { // Callback for when an extension is unloaded. void OnUnloadedExtension(const std::string& id); - // False only if cookies are globally blocked without exception. - bool AreCookiesEnabled() const; - // Returns true if this context is an external request context, like // ChromeFrame. virtual bool IsExternal() const { |