Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/client_session.h" | 5 #include "remoting/host/client_session.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 25 #include "remoting/host/input_injector.h" | 25 #include "remoting/host/input_injector.h" |
| 26 #include "remoting/host/mouse_shape_pump.h" | 26 #include "remoting/host/mouse_shape_pump.h" |
| 27 #include "remoting/host/screen_controls.h" | 27 #include "remoting/host/screen_controls.h" |
| 28 #include "remoting/host/screen_resolution.h" | 28 #include "remoting/host/screen_resolution.h" |
| 29 #include "remoting/host/video_frame_pump.h" | 29 #include "remoting/host/video_frame_pump.h" |
| 30 #include "remoting/proto/control.pb.h" | 30 #include "remoting/proto/control.pb.h" |
| 31 #include "remoting/proto/event.pb.h" | 31 #include "remoting/proto/event.pb.h" |
| 32 #include "remoting/protocol/client_stub.h" | 32 #include "remoting/protocol/client_stub.h" |
| 33 #include "remoting/protocol/clipboard_thread_proxy.h" | 33 #include "remoting/protocol/clipboard_thread_proxy.h" |
| 34 #include "remoting/protocol/pairing_registry.h" | 34 #include "remoting/protocol/pairing_registry.h" |
| 35 #include "remoting/protocol/session.h" | |
| 36 #include "remoting/protocol/session_config.h" | |
|
kelvinp
2015/11/19 19:49:16
Why is this needed? Is that because of the forwar
Sergey Ulanov
2015/11/19 19:59:23
This class uses Session and SessionConfig. Previou
| |
| 35 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" | 37 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" |
| 36 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" | 38 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" |
| 37 | 39 |
| 38 // Default DPI to assume for old clients that use notifyClientDimensions. | 40 // Default DPI to assume for old clients that use notifyClientDimensions. |
| 39 const int kDefaultDPI = 96; | 41 const int kDefaultDPI = 96; |
| 40 | 42 |
| 41 namespace remoting { | 43 namespace remoting { |
| 42 | 44 |
| 43 namespace { | 45 namespace { |
| 44 | 46 |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 508 | 510 |
| 509 scoped_ptr<protocol::ClipboardStub> ClientSession::CreateClipboardProxy() { | 511 scoped_ptr<protocol::ClipboardStub> ClientSession::CreateClipboardProxy() { |
| 510 DCHECK(CalledOnValidThread()); | 512 DCHECK(CalledOnValidThread()); |
| 511 | 513 |
| 512 return make_scoped_ptr( | 514 return make_scoped_ptr( |
| 513 new protocol::ClipboardThreadProxy(client_clipboard_factory_.GetWeakPtr(), | 515 new protocol::ClipboardThreadProxy(client_clipboard_factory_.GetWeakPtr(), |
| 514 base::ThreadTaskRunnerHandle::Get())); | 516 base::ThreadTaskRunnerHandle::Get())); |
| 515 } | 517 } |
| 516 | 518 |
| 517 } // namespace remoting | 519 } // namespace remoting |
| OLD | NEW |