Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_H_ | |
| 6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "remoting/host/desktop_environment.h" | |
| 11 | |
| 12 namespace remoting { | |
| 13 | |
| 14 class DaemonSender; | |
| 15 | |
| 16 class IpcDesktopEnvironment : public DesktopEnvironment { | |
|
Wez
2012/10/13 00:47:15
Add a description of what IpcDesktopEnvironment is
alexeypa (please no reviews)
2012/10/16 19:32:25
Done.
| |
| 17 public: | |
| 18 // |daemon_sender| must outlive |this|. | |
| 19 IpcDesktopEnvironment(scoped_ptr<AudioCapturer> audio_capturer, | |
| 20 scoped_ptr<EventExecutor> event_executor, | |
| 21 scoped_ptr<VideoFrameCapturer> video_capturer, | |
| 22 DaemonSender* daemon_sender); | |
| 23 virtual ~IpcDesktopEnvironment(); | |
| 24 | |
| 25 virtual void Start( | |
| 26 scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE; | |
| 27 | |
| 28 private: | |
| 29 // Points to an object implementing registration of desktop environment | |
| 30 // instances. | |
| 31 DaemonSender* daemon_sender_; | |
| 32 | |
| 33 // True if a terminal has been opened by the daemon process for |this|. | |
| 34 bool terminal_opened_; | |
| 35 | |
| 36 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironment); | |
| 37 }; | |
| 38 | |
| 39 } // namespace remoting | |
| 40 | |
| 41 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ | |
| OLD | NEW |