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

Side by Side Diff: remoting/host/desktop_environment_factory.cc

Issue 11412305: Use AutoThread in ChromotingHostContext & NPAPI plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "remoting/host/desktop_environment_factory.h" 5 #include "remoting/host/desktop_environment_factory.h"
6 6
7 #include "base/single_thread_task_runner.h"
7 #include "remoting/host/audio_capturer.h" 8 #include "remoting/host/audio_capturer.h"
8 #include "remoting/host/chromoting_host_context.h" 9 #include "remoting/host/chromoting_host_context.h"
9 #include "remoting/host/client_session.h" 10 #include "remoting/host/client_session.h"
10 #include "remoting/host/desktop_environment.h" 11 #include "remoting/host/desktop_environment.h"
11 #include "remoting/host/event_executor.h" 12 #include "remoting/host/event_executor.h"
12 #include "remoting/host/video_frame_capturer.h" 13 #include "remoting/host/video_frame_capturer.h"
13 14
14 namespace remoting { 15 namespace remoting {
15 16
16 DesktopEnvironmentFactory::DesktopEnvironmentFactory( 17 DesktopEnvironmentFactory::DesktopEnvironmentFactory(
(...skipping 13 matching lines...) Expand all
30 EventExecutor::Create(input_task_runner_, ui_task_runner_), 31 EventExecutor::Create(input_task_runner_, ui_task_runner_),
31 VideoFrameCapturer::Create())); 32 VideoFrameCapturer::Create()));
32 return environment.Pass(); 33 return environment.Pass();
33 } 34 }
34 35
35 bool DesktopEnvironmentFactory::SupportsAudioCapture() const { 36 bool DesktopEnvironmentFactory::SupportsAudioCapture() const {
36 return AudioCapturer::IsSupported(); 37 return AudioCapturer::IsSupported();
37 } 38 }
38 39
39 } // namespace remoting 40 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698