| Index: branches/1500/src/net/socket_stream/socket_stream.h
|
| ===================================================================
|
| --- branches/1500/src/net/socket_stream/socket_stream.h (revision 207763)
|
| +++ branches/1500/src/net/socket_stream/socket_stream.h (working copy)
|
| @@ -12,7 +12,6 @@
|
| #include "base/memory/linked_ptr.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "base/memory/weak_ptr.h"
|
| #include "net/base/address_list.h"
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/io_buffer.h"
|
| @@ -128,8 +127,8 @@
|
| 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_; }
|
|
|
| @@ -337,7 +336,7 @@
|
| // sum of the size of buffers in |pending_write_bufs_|
|
| // exceeds this limit, SendData() fails.
|
| int max_pending_send_allowed_;
|
| - base::WeakPtr<URLRequestContext> context_;
|
| + const URLRequestContext* context_;
|
|
|
| UserDataMap user_data_;
|
|
|
|
|