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

Side by Side Diff: remoting/protocol/ice_connection_to_client.cc

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: and more! 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/protocol/ice_connection_to_client.h" 5 #include "remoting/protocol/ice_connection_to_client.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 } // namespace 45 } // namespace
46 46
47 IceConnectionToClient::IceConnectionToClient( 47 IceConnectionToClient::IceConnectionToClient(
48 std::unique_ptr<protocol::Session> session, 48 std::unique_ptr<protocol::Session> session,
49 scoped_refptr<TransportContext> transport_context, 49 scoped_refptr<TransportContext> transport_context,
50 scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner, 50 scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner,
51 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) 51 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner)
52 : event_handler_(nullptr), 52 : event_handler_(nullptr),
53 session_(std::move(session)), 53 session_(std::move(session)),
54 video_encode_task_runner_(video_encode_task_runner), 54 video_encode_task_runner_(std::move(video_encode_task_runner)),
55 audio_task_runner_(audio_task_runner), 55 audio_task_runner_(std::move(audio_task_runner)),
56 transport_(transport_context, this), 56 transport_(transport_context, this),
57 control_dispatcher_(new HostControlDispatcher()), 57 control_dispatcher_(new HostControlDispatcher()),
58 event_dispatcher_(new HostEventDispatcher()), 58 event_dispatcher_(new HostEventDispatcher()),
59 video_dispatcher_(new HostVideoDispatcher()) { 59 video_dispatcher_(new HostVideoDispatcher()) {
60 session_->SetEventHandler(this); 60 session_->SetEventHandler(this);
61 session_->SetTransport(&transport_); 61 session_->SetTransport(&transport_);
62 } 62 }
63 63
64 IceConnectionToClient::~IceConnectionToClient() {} 64 IceConnectionToClient::~IceConnectionToClient() {}
65 65
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 void IceConnectionToClient::CloseChannels() { 220 void IceConnectionToClient::CloseChannels() {
221 control_dispatcher_.reset(); 221 control_dispatcher_.reset();
222 event_dispatcher_.reset(); 222 event_dispatcher_.reset();
223 video_dispatcher_.reset(); 223 video_dispatcher_.reset();
224 audio_writer_.reset(); 224 audio_writer_.reset();
225 } 225 }
226 226
227 } // namespace protocol 227 } // namespace protocol
228 } // namespace remoting 228 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698