diff options
Diffstat (limited to 'remoting/host/event_executor.h')
-rw-r--r-- | remoting/host/event_executor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h index c660eb3..1032367 100644 --- a/remoting/host/event_executor.h +++ b/remoting/host/event_executor.h @@ -28,11 +28,11 @@ class EventExecutor : public protocol::ClipboardStub, scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); // Initialises any objects needed to execute events. - virtual void OnSessionStarted( + virtual void Start( scoped_ptr<protocol::ClipboardStub> client_clipboard) = 0; - // Destroys any objects constructed by Start(). - virtual void OnSessionFinished() = 0; + // Destroys any objects constructed by Start() and deletes |this|. + virtual void StopAndDelete() = 0; }; } // namespace remoting |