diff options
Diffstat (limited to 'chromium/google_apis/gcm/engine/connection_handler_impl.h')
-rw-r--r-- | chromium/google_apis/gcm/engine/connection_handler_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/google_apis/gcm/engine/connection_handler_impl.h b/chromium/google_apis/gcm/engine/connection_handler_impl.h index 110cdcdddda..9f9daa94e39 100644 --- a/chromium/google_apis/gcm/engine/connection_handler_impl.h +++ b/chromium/google_apis/gcm/engine/connection_handler_impl.h @@ -34,7 +34,8 @@ class GCM_EXPORT ConnectionHandlerImpl : public ConnectionHandler { // ConnectionHandler implementation. virtual void Init(const mcs_proto::LoginRequest& login_request, - scoped_ptr<net::StreamSocket> socket) OVERRIDE; + net::StreamSocket* socket) OVERRIDE; + virtual void Reset() OVERRIDE; virtual bool CanSendMessage() const OVERRIDE; virtual void SendMessage(const google::protobuf::MessageLite& message) OVERRIDE; @@ -96,7 +97,7 @@ class GCM_EXPORT ConnectionHandlerImpl : public ConnectionHandler { base::OneShotTimer<ConnectionHandlerImpl> read_timeout_timer_; // This connection's socket and the input/output streams attached to it. - scoped_ptr<net::StreamSocket> socket_; + net::StreamSocket* socket_; scoped_ptr<SocketInputStream> input_stream_; scoped_ptr<SocketOutputStream> output_stream_; |