Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: remoting/host/event_executor.h

Issue 10915206: [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to ClientSession. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/desktop_environment_factory.cc ('k') | remoting/host/event_executor_fake.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/event_executor.h
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h
index c660eb3601289c52c0adab639b78618b8faa178c..1032367346f1de96c20e0f763b5f814826d36a79 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
« no previous file with comments | « remoting/host/desktop_environment_factory.cc ('k') | remoting/host/event_executor_fake.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698