Index: net/url_request/url_request_context.h |
=================================================================== |
--- net/url_request/url_request_context.h (revision 256594) |
+++ net/url_request/url_request_context.h (working copy) |
@@ -58,9 +58,13 @@ |
// May return NULL if this context doesn't have an associated network session. |
const HttpNetworkSession::Params* GetNetworkSessionParams() const; |
+ // Creates a URLRequest. |cookie_store| optionally specifies a cookie store |
+ // to be used rather than the one represented by the context, or NULL |
+ // otherwise. |
scoped_ptr<URLRequest> CreateRequest(const GURL& url, |
RequestPriority priority, |
- URLRequest::Delegate* delegate) const; |
+ URLRequest::Delegate* delegate, |
+ CookieStore* cookie_store) const; |
NetLog* net_log() const { |
return net_log_; |