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

Unified Diff: net/url_request/url_request.cc

Issue 6995013: More progress towards removing content settings code from the content layer. We can't use Cookie... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix net_unittests Created 9 years, 7 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
Index: net/url_request/url_request.cc
===================================================================
--- net/url_request/url_request.cc (revision 84586)
+++ net/url_request/url_request.cc (working copy)
@@ -98,14 +98,14 @@
request->Cancel();
}
-void URLRequest::Delegate::OnGetCookies(URLRequest* request,
- bool blocked_by_policy) {
+bool URLRequest::Delegate::CanGetCookies(URLRequest* request) {
+ return true;
}
-void URLRequest::Delegate::OnSetCookie(URLRequest* request,
- const std::string& cookie_line,
- const CookieOptions& options,
- bool blocked_by_policy) {
+bool URLRequest::Delegate::CanSetCookie(URLRequest* request,
+ const std::string& cookie_line,
+ CookieOptions* options) {
+ return true;
}
///////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698