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

Unified Diff: remoting/host/simple_host_process.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/remoting_me2me_host.cc ('k') | remoting/host/win/session_desktop_environment_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/simple_host_process.cc
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index dd26e4a5d848a83193c36b52b70110cd3c61174c..367e78cdb783c150bc3918c301c093da73efb47b 100644
--- a/remoting/host/simple_host_process.cc
+++ b/remoting/host/simple_host_process.cc
@@ -36,6 +36,7 @@
#include "remoting/host/audio_capturer.h"
#include "remoting/host/chromoting_host_context.h"
#include "remoting/host/chromoting_host.h"
+#include "remoting/host/client_session.h"
#include "remoting/host/desktop_environment.h"
#include "remoting/host/desktop_environment.h"
#include "remoting/host/desktop_environment_factory.h"
@@ -102,7 +103,7 @@ class FakeDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
FakeDesktopEnvironmentFactory();
virtual ~FakeDesktopEnvironmentFactory();
- virtual scoped_ptr<DesktopEnvironment> Create() OVERRIDE;
+ virtual scoped_ptr<DesktopEnvironment> Create(ClientSession* client) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironmentFactory);
@@ -115,7 +116,8 @@ class FakeDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
FakeDesktopEnvironmentFactory::~FakeDesktopEnvironmentFactory() {
}
-scoped_ptr<DesktopEnvironment> FakeDesktopEnvironmentFactory::Create() {
+scoped_ptr<DesktopEnvironment> FakeDesktopEnvironmentFactory::Create(
+ ClientSession* client) {
scoped_ptr<VideoFrameCapturer> capturer(new VideoFrameCapturerFake());
scoped_ptr<EventExecutor> event_executor(new EventExecutorFake());
return scoped_ptr<DesktopEnvironment>(new DesktopEnvironment(
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/win/session_desktop_environment_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698