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

Unified Diff: net/url_request/url_request_context.h

Issue 2907463002: Split HttpNetworkSession::Params into two structs. (Closed)
Patch Set: Response to comments Created 3 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
« no previous file with comments | « net/spdy/chromium/spdy_test_util_common.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context.h
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index 0d954a62df6b1f0bda625486f084222792b340f6..5874bbc157c4738cdaa197283cb058bc4026dfa6 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -73,6 +73,10 @@ class NET_EXPORT URLRequestContext
// session.
const HttpNetworkSession::Params* GetNetworkSessionParams() const;
+ // May return nullptr if this context doesn't have an associated network
+ // session.
+ const HttpNetworkSession::Context* GetNetworkSessionContext() const;
+
// This function should not be used in Chromium, please use the version with
// NetworkTrafficAnnotationTag in the future.
std::unique_ptr<URLRequest> CreateRequest(
« no previous file with comments | « net/spdy/chromium/spdy_test_util_common.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698