Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Unified Diff: remoting/host/desktop_environment_factory.h

Issue 11778049: Making DesktopEnvironment a factory class used by ClientSession to create audio/video capturers and… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/desktop_environment.cc ('k') | remoting/host/desktop_environment_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_environment_factory.h
diff --git a/remoting/host/desktop_environment_factory.h b/remoting/host/desktop_environment_factory.h
deleted file mode 100644
index 3a25437af19fc194327838d8dd6dc3d1d562996d..0000000000000000000000000000000000000000
--- a/remoting/host/desktop_environment_factory.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_HOST_DESKTOP_ENVIRONMENT_FACTORY_H_
-#define REMOTING_HOST_DESKTOP_ENVIRONMENT_FACTORY_H_
-
-#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace base {
-class SingleThreadTaskRunner;
-} // namespace base
-
-namespace remoting {
-
-class DesktopEnvironment;
-
-class DesktopEnvironmentFactory {
- public:
- DesktopEnvironmentFactory(
- scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
- virtual ~DesktopEnvironmentFactory();
-
- // Creates an instance of |DesktopEnvironment|.
- virtual scoped_ptr<DesktopEnvironment> Create();
-
- // Returns |true| if created |DesktopEnvironment| instances support audio
- // capture.
- virtual bool SupportsAudioCapture() const;
-
- protected:
- scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_;
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
-
- DISALLOW_COPY_AND_ASSIGN(DesktopEnvironmentFactory);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_HOST_DESKTOP_ENVIRONMENT_FACTORY_H_
« no previous file with comments | « remoting/host/desktop_environment.cc ('k') | remoting/host/desktop_environment_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698