Index: net/socket_stream/socket_stream.h |
diff --git a/net/socket_stream/socket_stream.h b/net/socket_stream/socket_stream.h |
index 7f071963146d9c026a460e48e84c01794528315a..c7c503e7519bd091d281f71bc309fd682f520f29 100644 |
--- a/net/socket_stream/socket_stream.h |
+++ b/net/socket_stream/socket_stream.h |
@@ -138,8 +138,8 @@ class NET_EXPORT SocketStream |
Delegate* delegate() const { return delegate_; } |
int max_pending_send_allowed() const { return max_pending_send_allowed_; } |
- URLRequestContext* context() const { return context_.get(); } |
- void set_context(URLRequestContext* context); |
+ const URLRequestContext* context() const { return context_; } |
+ void set_context(const URLRequestContext* context); |
BoundNetLog* net_log() { return &net_log_; } |
@@ -322,7 +322,7 @@ class NET_EXPORT SocketStream |
GURL url_; |
int max_pending_send_allowed_; |
- scoped_refptr<URLRequestContext> context_; |
+ const URLRequestContext* context_; |
UserDataMap user_data_; |