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

Side by Side Diff: remoting/host/ipc_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: 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_FACTORY_H_
6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_FACTORY_H_
7
8 #include "remoting/host/desktop_environment_factory.h"
9
10 namespace remoting {
11
12 class DaemonSender;
13
14 class IpcDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
Wez 2012/10/13 00:47:15 Add a comment to explain what this class actually
alexeypa (please no reviews) 2012/10/16 19:32:25 Done.
15 public:
16 // |daemon_sender| must outlive |this|.
Wez 2012/10/13 00:47:15 Clarify here what |daemon_sender| will be used for
alexeypa (please no reviews) 2012/10/16 19:32:25 Done.
17 IpcDesktopEnvironmentFactory(
18 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
19 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
20 DaemonSender* daemon_sender);
21 virtual ~IpcDesktopEnvironmentFactory();
22
23 virtual scoped_ptr<DesktopEnvironment> Create() OVERRIDE;
24
25 private:
26 // Points to an object implementing registration of desktop environment
27 // instances.
28 DaemonSender* daemon_sender_;
29
30 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory);
31 };
32
33 } // namespace remoting
34
35 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698