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

Side by Side Diff: remoting/host/win/session_desktop_environment.cc

Issue 2495453002: [Chromoting] Remove screen_capturer.h & desktop_capturer.h (Closed)
Patch Set: Include ipc_desktop_environment_unittest.cc Created 4 years, 1 month 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
« no previous file with comments | « remoting/host/single_window_desktop_environment.cc ('k') | no next file » | 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/win/session_desktop_environment.h" 5 #include "remoting/host/win/session_desktop_environment.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "remoting/host/audio_capturer.h" 12 #include "remoting/host/audio_capturer.h"
13 #include "remoting/host/input_injector.h" 13 #include "remoting/host/input_injector.h"
14 #include "remoting/host/screen_controls.h" 14 #include "remoting/host/screen_controls.h"
15 #include "remoting/host/win/session_input_injector.h" 15 #include "remoting/host/win/session_input_injector.h"
16 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" 16 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
17 17
18 namespace remoting { 18 namespace remoting {
19 19
20 SessionDesktopEnvironment::~SessionDesktopEnvironment() {} 20 SessionDesktopEnvironment::~SessionDesktopEnvironment() {}
21 21
22 std::unique_ptr<InputInjector> 22 std::unique_ptr<InputInjector>
23 SessionDesktopEnvironment::CreateInputInjector() { 23 SessionDesktopEnvironment::CreateInputInjector() {
24 DCHECK(caller_task_runner()->BelongsToCurrentThread()); 24 DCHECK(caller_task_runner()->BelongsToCurrentThread());
25 25
26 return base::MakeUnique<SessionInputInjectorWin>( 26 return base::MakeUnique<SessionInputInjectorWin>(
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 inject_sas_, lock_workstation_)); 72 inject_sas_, lock_workstation_));
73 if (!desktop_environment->InitializeSecurity(client_session_control, 73 if (!desktop_environment->InitializeSecurity(client_session_control,
74 curtain_enabled())) { 74 curtain_enabled())) {
75 return nullptr; 75 return nullptr;
76 } 76 }
77 77
78 return std::move(desktop_environment); 78 return std::move(desktop_environment);
79 } 79 }
80 80
81 } // namespace remoting 81 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/single_window_desktop_environment.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698