| 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_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 SessionDesktopEnvironmentFactory : public DesktopEnvironmentFactory { | 12 class SessionDesktopEnvironmentFactory : public DesktopEnvironmentFactory { |
| 13 public: | 13 public: |
| 14 SessionDesktopEnvironmentFactory( | 14 SessionDesktopEnvironmentFactory( |
| 15 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 15 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
| 16 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); | 16 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); |
| 17 virtual ~SessionDesktopEnvironmentFactory(); | 17 virtual ~SessionDesktopEnvironmentFactory(); |
| 18 | 18 |
| 19 virtual scoped_ptr<DesktopEnvironment> Create() OVERRIDE; | 19 virtual scoped_ptr<DesktopEnvironment> Create( |
| 20 scoped_refptr<ChromotingHost> host) OVERRIDE; |
| 20 | 21 |
| 21 private: | 22 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); | 23 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); |
| 23 }; | 24 }; |
| 24 | 25 |
| 25 } // namespace remoting | 26 } // namespace remoting |
| 26 | 27 |
| 27 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_ | 28 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_ |
| OLD | NEW |