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

Unified Diff: net/url_request/url_request_http_job.cc

Issue 11417148: Query the network delegate for cookies even if there is no cookie monster (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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/url_request/url_request.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.cc
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index 4f57a31295057567bf7f5cd53b3ab9f36b609447..76ece0c7bcdbca9907431642628257b6e4e21493 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -515,7 +515,7 @@ void URLRequestHttpJob::AddCookieHeaderAndStart() {
base::Bind(&URLRequestHttpJob::CheckCookiePolicyAndLoad,
weak_factory_.GetWeakPtr()));
} else {
- DoLoadCookies();
+ CheckCookiePolicyAndLoad(CookieList());
droger 2012/11/23 16:00:12 I pass an empty list as 'default' argument here, a
erikwright (departed) 2012/11/27 05:17:17 ChromeNetworkDelegate passes the list to TabSpecif
cbentzel 2012/11/28 14:36:42 Out of curiosity: is the Cookie header already sup
droger 2012/11/28 14:47:44 Looking at the code, the headers are set a bit aft
erikwright (departed) 2012/11/30 16:43:52 The problem is that the CookieList is cookies with
}
} else {
DoStartTransaction();
« no previous file with comments | « net/url_request/url_request.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698