From 72d1e597c85fbf6b45756e3c753696370c48c042 Mon Sep 17 00:00:00 2001 From: "maruel@google.com" Date: Tue, 10 Mar 2009 17:39:46 +0000 Subject: 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 --- net/base/cookie_policy.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'net/base/cookie_policy.cc') 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 - -- cgit v1.1