| Index: remoting/protocol/webrtc_connection_to_client.h
|
| diff --git a/remoting/protocol/webrtc_connection_to_client.h b/remoting/protocol/webrtc_connection_to_client.h
|
| index 13d0ee36c2d988c80e9d60149617e088b5a2c17e..955bf02d3fa8567a3cdc9a119352745391aa2bc7 100644
|
| --- a/remoting/protocol/webrtc_connection_to_client.h
|
| +++ b/remoting/protocol/webrtc_connection_to_client.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "remoting/protocol/channel_dispatcher_base.h"
|
| #include "remoting/protocol/connection_to_client.h"
|
| @@ -75,6 +76,8 @@ class WebrtcConnectionToClient : public ConnectionToClient,
|
| scoped_ptr<HostControlDispatcher> control_dispatcher_;
|
| scoped_ptr<HostEventDispatcher> event_dispatcher_;
|
|
|
| + base::WeakPtrFactory<WebrtcConnectionToClient> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(WebrtcConnectionToClient);
|
| };
|
|
|
|
|