diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 18:22:42 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 18:22:42 +0000 |
commit | 70503b2e6a0c8adce71d7e18c726e7f3f7c9b0c1 (patch) | |
tree | f63b2c2319615670c0e7c3cf3213a7dfe2da556f /net/base/static_cookie_policy.h | |
parent | b03f53cdce4455ae3ddf80e2faea6ca9bc4b2c62 (diff) | |
download | chromium_src-70503b2e6a0c8adce71d7e18c726e7f3f7c9b0c1.zip chromium_src-70503b2e6a0c8adce71d7e18c726e7f3f7c9b0c1.tar.gz chromium_src-70503b2e6a0c8adce71d7e18c726e7f3f7c9b0c1.tar.bz2 |
Remove async functionality from net::CookiePolicy.
This lets us stop refcounting URLRequestHttpJob.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6749044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/static_cookie_policy.h')
-rw-r--r-- | net/base/static_cookie_policy.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/base/static_cookie_policy.h b/net/base/static_cookie_policy.h index 815aadc..77a62e8 100644 --- a/net/base/static_cookie_policy.h +++ b/net/base/static_cookie_policy.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -54,15 +54,13 @@ class StaticCookiePolicy : public CookiePolicy { // Consults the user's third-party cookie blocking preferences to determine // whether the URL's cookies can be read. virtual int CanGetCookies(const GURL& url, - const GURL& first_party_for_cookies, - CompletionCallback* callback); + const GURL& first_party_for_cookies) const; // Consults the user's third-party cookie blocking preferences to determine // whether the URL's cookies can be set. virtual int CanSetCookie(const GURL& url, const GURL& first_party_for_cookies, - const std::string& cookie_line, - CompletionCallback* callback); + const std::string& cookie_line) const; private: Type type_; |