diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 17:39:46 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 17:39:46 +0000 |
commit | 72d1e597c85fbf6b45756e3c753696370c48c042 (patch) | |
tree | d01609d62295e34aa3a5721d4109f815d0fd23ad /net/base/cookie_policy.cc | |
parent | 9475d1d189c03a0626c4855b38f6004bfe7c5bb8 (diff) | |
download | chromium_src-72d1e597c85fbf6b45756e3c753696370c48c042.zip chromium_src-72d1e597c85fbf6b45756e3c753696370c48c042.tar.gz chromium_src-72d1e597c85fbf6b45756e3c753696370c48c042.tar.bz2 |
Slight code change to make some global variables const.
Fix >80 cols lines.
Review URL: http://codereview.chromium.org/42013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/cookie_policy.cc')
-rw-r--r-- | net/base/cookie_policy.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/base/cookie_policy.cc b/net/base/cookie_policy.cc index 3d82259..d18db63 100644 --- a/net/base/cookie_policy.cc +++ b/net/base/cookie_policy.cc @@ -31,8 +31,8 @@ bool CookiePolicy::CanSetCookie(const GURL& url, const GURL& policy_url) { case CookiePolicy::BLOCK_THIRD_PARTY_COOKIES: if (policy_url.is_empty()) return true; // Empty policy URL should indicate a first-party request - - return net::RegistryControlledDomainService::SameDomainOrHost(url, policy_url); + return net::RegistryControlledDomainService::SameDomainOrHost(url, + policy_url); case CookiePolicy::BLOCK_ALL_COOKIES: return false; default: @@ -45,4 +45,3 @@ CookiePolicy::CookiePolicy() : type_(CookiePolicy::ALLOW_ALL_COOKIES) { } } // namespace net - |