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

Unified Diff: remoting/host/host_mock_objects.cc

Issue 11028128: [Chromoting] Request the daemon to open a terminal once a connection has been accepted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 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/ipc_desktop_environment.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 2eb6c918818eb534ea5340d3105a0617b9b09111..399a5a600877d0032b509ff1e4870bde24f7a2ef 100644
--- a/remoting/host/host_mock_objects.cc
+++ b/remoting/host/host_mock_objects.cc
@@ -26,6 +26,17 @@ void MockCaptureCompletedCallback::CaptureCompleted(
CaptureCompletedPtr(capture_data.get());
}
+MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory()
+ : DesktopEnvironmentFactory(NULL, NULL) {
+}
+
+MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {}
+
+scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create(
+ ClientSession* client) {
+ return scoped_ptr<DesktopEnvironment>(CreatePtr(client));
+}
+
MockEventExecutor::MockEventExecutor() {}
MockEventExecutor::~MockEventExecutor() {}
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/ipc_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698