summaryrefslogtreecommitdiffstats
path: root/remoting/host/session_event_executor_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/session_event_executor_win.h')
-rw-r--r--remoting/host/session_event_executor_win.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/host/session_event_executor_win.h b/remoting/host/session_event_executor_win.h
index d3e650c..e54c3f9 100644
--- a/remoting/host/session_event_executor_win.h
+++ b/remoting/host/session_event_executor_win.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
+#include "base/memory/weak_ptr.h"
#include "ipc/ipc_channel.h"
#include "remoting/host/event_executor.h"
@@ -67,6 +68,9 @@ class SessionEventExecutorWin : public EventExecutor,
// Keys currently pressed by the client, used to detect Ctrl-Alt-Del.
std::set<uint32> pressed_keys_;
+ base::WeakPtrFactory<SessionEventExecutorWin> weak_ptr_factory_;
+ base::WeakPtr<SessionEventExecutorWin> weak_ptr_;
+
DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin);
};