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

Unified Diff: remoting/host/host_mock_objects.cc

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/host_mock_objects.h ('k') | remoting/host/plugin/host_script_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_mock_objects.cc
diff --git a/remoting/host/host_mock_objects.cc b/remoting/host/host_mock_objects.cc
index f8867a329466359176e82f5061b3a6c23cad76c4..2eb6c918818eb534ea5340d3105a0617b9b09111 100644
--- a/remoting/host/host_mock_objects.cc
+++ b/remoting/host/host_mock_objects.cc
@@ -30,9 +30,14 @@ MockEventExecutor::MockEventExecutor() {}
MockEventExecutor::~MockEventExecutor() {}
-void MockEventExecutor::OnSessionStarted(
+void MockEventExecutor::Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) {
- OnSessionStartedPtr(client_clipboard.get());
+ StartPtr(client_clipboard.get());
+}
+
+void MockEventExecutor::StopAndDelete() {
+ StopAndDeleteMock();
+ delete this;
}
MockDisconnectWindow::MockDisconnectWindow() {}
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/plugin/host_script_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698