OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_IT2ME_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ |
6 #define REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "remoting/host/basic_desktop_environment.h" | 10 #include "remoting/host/basic_desktop_environment.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 class It2MeDesktopEnvironmentFactory : public BasicDesktopEnvironmentFactory { | 45 class It2MeDesktopEnvironmentFactory : public BasicDesktopEnvironmentFactory { |
46 public: | 46 public: |
47 It2MeDesktopEnvironmentFactory( | 47 It2MeDesktopEnvironmentFactory( |
48 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | 48 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, |
49 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 49 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
50 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); | 50 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); |
51 virtual ~It2MeDesktopEnvironmentFactory(); | 51 virtual ~It2MeDesktopEnvironmentFactory(); |
52 | 52 |
53 // DesktopEnvironmentFactory interface. | 53 // DesktopEnvironmentFactory interface. |
54 virtual scoped_ptr<DesktopEnvironment> Create( | 54 virtual scoped_ptr<DesktopEnvironment> Create( |
55 base::WeakPtr<ClientSessionControl> client_session_control) OVERRIDE; | 55 base::WeakPtr<ClientSessionControl> client_session_control) override; |
56 | 56 |
57 private: | 57 private: |
58 DISALLOW_COPY_AND_ASSIGN(It2MeDesktopEnvironmentFactory); | 58 DISALLOW_COPY_AND_ASSIGN(It2MeDesktopEnvironmentFactory); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace remoting | 61 } // namespace remoting |
62 | 62 |
63 #endif // REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ | 63 #endif // REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ |
OLD | NEW |