| OLD | NEW |
| 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_ME2ME_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ |
| 6 #define REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ |
| 7 | 7 |
| 8 #include "remoting/host/basic_desktop_environment.h" | 8 #include "remoting/host/basic_desktop_environment.h" |
| 9 | 9 |
| 10 namespace remoting { | 10 namespace remoting { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 scoped_ptr<ScreenControls> CreateScreenControls() override; | 23 scoped_ptr<ScreenControls> CreateScreenControls() override; |
| 24 std::string GetCapabilities() const override; | 24 std::string GetCapabilities() const override; |
| 25 scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler( | 25 scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler( |
| 26 protocol::ClientStub* client_stub) override; | 26 protocol::ClientStub* client_stub) override; |
| 27 | 27 |
| 28 protected: | 28 protected: |
| 29 friend class Me2MeDesktopEnvironmentFactory; | 29 friend class Me2MeDesktopEnvironmentFactory; |
| 30 Me2MeDesktopEnvironment( | 30 Me2MeDesktopEnvironment( |
| 31 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | 31 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, |
| 32 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 32 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
| 33 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); | 33 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
| 34 bool supports_touch_events); |
| 34 | 35 |
| 35 // Initializes security features of the desktop environment (the curtain mode | 36 // Initializes security features of the desktop environment (the curtain mode |
| 36 // and in-session UI). | 37 // and in-session UI). |
| 37 bool InitializeSecurity( | 38 bool InitializeSecurity( |
| 38 base::WeakPtr<ClientSessionControl> client_session_control, | 39 base::WeakPtr<ClientSessionControl> client_session_control, |
| 39 bool curtain_enabled); | 40 bool curtain_enabled); |
| 40 | 41 |
| 41 void SetEnableGnubbyAuth(bool gnubby_auth_enabled); | 42 void SetEnableGnubbyAuth(bool gnubby_auth_enabled); |
| 42 | 43 |
| 43 private: | 44 private: |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 82 |
| 82 // True if gnubby auth is enabled. | 83 // True if gnubby auth is enabled. |
| 83 bool gnubby_auth_enabled_; | 84 bool gnubby_auth_enabled_; |
| 84 | 85 |
| 85 DISALLOW_COPY_AND_ASSIGN(Me2MeDesktopEnvironmentFactory); | 86 DISALLOW_COPY_AND_ASSIGN(Me2MeDesktopEnvironmentFactory); |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 } // namespace remoting | 89 } // namespace remoting |
| 89 | 90 |
| 90 #endif // REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ | 91 #endif // REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ |
| OLD | NEW |