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_DESKTOP_ENVIRONMENT_FACTORY_H_ |
| 6 #define REMOTING_HOST_DESKTOP_ENVIRONMENT_FACTORY_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 10 |
| 11 namespace remoting { |
| 12 |
| 13 class ChromotingHostContext; |
| 14 class DesktopEnvironment; |
| 15 |
| 16 class DesktopEnvironmentFactory { |
| 17 public: |
| 18 DesktopEnvironmentFactory(); |
| 19 virtual ~DesktopEnvironmentFactory(); |
| 20 |
| 21 virtual scoped_ptr<DesktopEnvironment> Create( |
| 22 ChromotingHostContext* context); |
| 23 |
| 24 // Returns |true| if created |DesktopEnvironment| instances support audio |
| 25 // capture. |
| 26 virtual bool SupportsAudioCapture() const; |
| 27 |
| 28 protected: |
| 29 DISALLOW_COPY_AND_ASSIGN(DesktopEnvironmentFactory); |
| 30 }; |
| 31 |
| 32 } // namespace remoting |
| 33 |
| 34 #endif // REMOTING_HOST_DESKTOP_ENVIRONMENT_FACTORY_H_ |
OLD | NEW |