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

Unified Diff: remoting/host/event_executor_linux.cc

Issue 10909143: Revert 155574 - [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to Cl… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/event_executor_fake.cc ('k') | remoting/host/event_executor_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/event_executor_linux.cc
===================================================================
--- remoting/host/event_executor_linux.cc (revision 155615)
+++ remoting/host/event_executor_linux.cc (working copy)
@@ -50,9 +50,9 @@
virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE;
// EventExecutor interface.
- virtual void Start(
+ virtual void OnSessionStarted(
scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE;
- virtual void StopAndDelete() OVERRIDE;
+ virtual void OnSessionFinished() OVERRIDE;
private:
// |mode| is one of the AutoRepeatModeOn, AutoRepeatModeOff,
@@ -439,13 +439,13 @@
XFlush(display_);
}
-void EventExecutorLinux::Start(
+void EventExecutorLinux::OnSessionStarted(
scoped_ptr<protocol::ClipboardStub> client_clipboard) {
return;
}
-void EventExecutorLinux::StopAndDelete() {
- delete this;
+void EventExecutorLinux::OnSessionFinished() {
+ return;
}
} // namespace
« no previous file with comments | « remoting/host/event_executor_fake.cc ('k') | remoting/host/event_executor_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698