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

Unified Diff: net/url_request/url_request_context.cc

Issue 1003953008: Remove prerender cookie store, part 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prerender-revert-cookie-store-3
Patch Set: Created 5 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
Index: net/url_request/url_request_context.cc
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc
index 5a9cf99c1cc8a98602847d6d05880b9f12de80ca..eb6a35c6d790e3e3ce5e001ed825c52834fd640b 100644
--- a/net/url_request/url_request_context.cc
+++ b/net/url_request/url_request_context.cc
@@ -79,11 +79,9 @@ const HttpNetworkSession::Params* URLRequestContext::GetNetworkSessionParams(
scoped_ptr<URLRequest> URLRequestContext::CreateRequest(
const GURL& url,
RequestPriority priority,
- URLRequest::Delegate* delegate,
- CookieStore* cookie_store) const {
- return scoped_ptr<URLRequest>(
- new URLRequest(url, priority, delegate, this, cookie_store,
- network_delegate_));
+ URLRequest::Delegate* delegate) const {
+ return make_scoped_ptr(
+ new URLRequest(url, priority, delegate, this, network_delegate_));
}
void URLRequestContext::set_cookie_store(CookieStore* cookie_store) {

Powered by Google App Engine
This is Rietveld 408576698