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

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

Issue 10790075: Rename Capturer to VideoFrameCapturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased. Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/host/client_session_unittest.cc » ('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/client_session.h" 5 #include "remoting/host/client_session.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop_proxy.h"
10 #include "remoting/host/capturer.h" 10 #include "remoting/host/video_frame_capturer.h"
11 #include "remoting/proto/control.pb.h" 11 #include "remoting/proto/control.pb.h"
12 #include "remoting/proto/event.pb.h" 12 #include "remoting/proto/event.pb.h"
13 #include "remoting/protocol/client_stub.h" 13 #include "remoting/protocol/client_stub.h"
14 #include "remoting/protocol/clipboard_thread_proxy.h" 14 #include "remoting/protocol/clipboard_thread_proxy.h"
15 15
16 namespace remoting { 16 namespace remoting {
17 17
18 ClientSession::ClientSession( 18 ClientSession::ClientSession(
19 EventHandler* event_handler, 19 EventHandler* event_handler,
20 scoped_ptr<protocol::ConnectionToClient> connection, 20 scoped_ptr<protocol::ConnectionToClient> connection,
21 protocol::HostEventStub* host_event_stub, 21 protocol::HostEventStub* host_event_stub,
22 Capturer* capturer, 22 VideoFrameCapturer* capturer,
23 const base::TimeDelta& max_duration) 23 const base::TimeDelta& max_duration)
24 : event_handler_(event_handler), 24 : event_handler_(event_handler),
25 connection_(connection.Pass()), 25 connection_(connection.Pass()),
26 client_jid_(connection_->session()->jid()), 26 client_jid_(connection_->session()->jid()),
27 is_authenticated_(false), 27 is_authenticated_(false),
28 host_event_stub_(host_event_stub), 28 host_event_stub_(host_event_stub),
29 input_tracker_(host_event_stub_), 29 input_tracker_(host_event_stub_),
30 remote_input_filter_(&input_tracker_), 30 remote_input_filter_(&input_tracker_),
31 mouse_input_filter_(&remote_input_filter_), 31 mouse_input_filter_(&remote_input_filter_),
32 client_clipboard_factory_(clipboard_echo_filter_.client_filter()), 32 client_clipboard_factory_(clipboard_echo_filter_.client_filter()),
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 scoped_ptr<protocol::ClipboardStub> ClientSession::CreateClipboardProxy() { 178 scoped_ptr<protocol::ClipboardStub> ClientSession::CreateClipboardProxy() {
179 DCHECK(CalledOnValidThread()); 179 DCHECK(CalledOnValidThread());
180 180
181 return scoped_ptr<protocol::ClipboardStub>( 181 return scoped_ptr<protocol::ClipboardStub>(
182 new protocol::ClipboardThreadProxy( 182 new protocol::ClipboardThreadProxy(
183 client_clipboard_factory_.GetWeakPtr(), 183 client_clipboard_factory_.GetWeakPtr(),
184 base::MessageLoopProxy::current())); 184 base::MessageLoopProxy::current()));
185 } 185 }
186 186
187 } // namespace remoting 187 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/host/client_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698