Chromium Code Reviews| Index: net/url_request/url_request.h |
| diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h |
| index 1a174704c6c329fccb3561163d11e26b62ee8fa9..79ca635c8f08727fb415dd2ba81fab6392c88518 100644 |
| --- a/net/url_request/url_request.h |
| +++ b/net/url_request/url_request.h |
| @@ -629,6 +629,8 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe), |
| // Used to specify the context (cookie store, cache) for this request. |
| const URLRequestContext* context() const; |
| + NetworkDelegate* network_delegate() const { return network_delegate_; } |
|
Thiemo Nagel
2016/03/10 14:37:26
Please return const pointer.
bartfab (slow)
2016/03/10 17:52:09
I think you mean pointer to const :).
|
| + |
| const BoundNetLog& net_log() const { return net_log_; } |
| // Returns the expected content size if available |