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

Side by Side Diff: remoting/host/win/session_desktop_environment_factory.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_ 5 #ifndef REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_
6 #define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_ 6 #define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_
7 7
8 #include "remoting/host/desktop_environment_factory.h" 8 #include "remoting/host/desktop_environment_factory.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 class ClientSession;
13
12 class SessionDesktopEnvironmentFactory : public DesktopEnvironmentFactory { 14 class SessionDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
13 public: 15 public:
14 SessionDesktopEnvironmentFactory( 16 SessionDesktopEnvironmentFactory(
15 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 17 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
16 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); 18 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
17 virtual ~SessionDesktopEnvironmentFactory(); 19 virtual ~SessionDesktopEnvironmentFactory();
18 20
19 virtual scoped_ptr<DesktopEnvironment> Create() OVERRIDE; 21 virtual scoped_ptr<DesktopEnvironment> Create(ClientSession* client) OVERRIDE;
20 22
21 private: 23 private:
22 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); 24 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory);
23 }; 25 };
24 26
25 } // namespace remoting 27 } // namespace remoting
26 28
27 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_ 29 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_
OLDNEW
« no previous file with comments | « remoting/host/simple_host_process.cc ('k') | remoting/host/win/session_desktop_environment_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698