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

Unified Diff: remoting/host/host_mock_objects.cc

Issue 10920019: [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to ClientSession. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 4 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
Index: remoting/host/host_mock_objects.cc
diff --git a/remoting/host/host_mock_objects.cc b/remoting/host/host_mock_objects.cc
index f192f8e84d659db0a8f4db39db75b7321c78fd3f..10c2bfb5d21c6ecd88ebf6f65cb28c29679f51e5 100644
--- a/remoting/host/host_mock_objects.cc
+++ b/remoting/host/host_mock_objects.cc
@@ -29,9 +29,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() {}

Powered by Google App Engine
This is Rietveld 408576698