| 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_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_ | |
| 6 #define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_ | |
| 7 | |
| 8 #include "base/callback.h" | |
| 9 #include "remoting/host/desktop_environment_factory.h" | |
| 10 | |
| 11 namespace remoting { | |
| 12 | |
| 13 class SessionDesktopEnvironmentFactory : public DesktopEnvironmentFactory { | |
| 14 public: | |
| 15 SessionDesktopEnvironmentFactory( | |
| 16 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | |
| 17 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | |
| 18 const base::Closure& inject_sas); | |
| 19 virtual ~SessionDesktopEnvironmentFactory(); | |
| 20 | |
| 21 virtual scoped_ptr<DesktopEnvironment> Create() OVERRIDE; | |
| 22 | |
| 23 private: | |
| 24 // Used to ask the daemon to inject Secure Attention Sequence. | |
| 25 base::Closure inject_sas_; | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); | |
| 28 }; | |
| 29 | |
| 30 } // namespace remoting | |
| 31 | |
| 32 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_ | |
| OLD | NEW |