Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: net/url_request/url_request.h

Issue 9572001: Do cookie checks in NetworkDelegate instead of the URLRequest::Delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/network_delegate_error_observer_unittest.cc ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 2c54cbca5a5ba525c2e2245490d2c5e855af1708..3875efdab0c3c7031bd5dbbc5bbf07ed45323694 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
« no previous file with comments | « net/proxy/network_delegate_error_observer_unittest.cc ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698