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( |