summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-09 13:13:35 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-09 13:13:35 +0000
commit9c8ae8c661753f4a9eac82e0bcea016dadacf252 (patch)
treeacd3fbd4b97ace520b934d4d8f72132a018dd721 /net/url_request/url_request.h
parent594730f547d4b93676ec060334c49295315e392e (diff)
downloadchromium_src-9c8ae8c661753f4a9eac82e0bcea016dadacf252.zip
chromium_src-9c8ae8c661753f4a9eac82e0bcea016dadacf252.tar.gz
chromium_src-9c8ae8c661753f4a9eac82e0bcea016dadacf252.tar.bz2
Do cookie checks in NetworkDelegate instead of the URLRequest::Delegate.
As a side effect, requests going through URLFetcher now also have to pass cookie checks. Requests from the URLFetcher can be optionally annotated with a render view, so the user can be notified about blocked cookies. This plumbing is done for the alternate nav url fetcher, and the template url fetcher. BUG=116322 TEST=manual/pyauto Review URL: https://chromiumcodereview.appspot.com/9572001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r--net/url_request/url_request.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 2c54cbc..3875efd 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -260,19 +260,6 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
const SSLInfo& ssl_info,
bool fatal);
- // Called when reading cookies to allow the delegate to block access to the
- // cookie. This method will never be invoked when LOAD_DO_NOT_SEND_COOKIES
- // is specified.
- virtual bool CanGetCookies(const URLRequest* request,
- const CookieList& cookie_list) const;
-
- // Called when a cookie is set to allow the delegate to block access to the
- // cookie. This method will never be invoked when LOAD_DO_NOT_SAVE_COOKIES
- // is specified.
- virtual bool CanSetCookie(const URLRequest* request,
- const std::string& cookie_line,
- CookieOptions* options) const;
-
// After calling Start(), the delegate will receive an OnResponseStarted
// callback when the request has completed. If an error occurred, the
// request->status() will be set. On success, all redirects have been