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

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

Issue 1969053002: Fix include path for moved thread_task_runner_handle.h header in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
« no previous file with comments | « remoting/protocol/transport_context.cc ('k') | remoting/protocol/webrtc_transport.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 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/webrtc_data_stream_adapter.h" 5 #include "remoting/protocol/webrtc_data_stream_adapter.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
17 #include "remoting/base/compound_buffer.h" 17 #include "remoting/base/compound_buffer.h"
18 #include "remoting/protocol/message_pipe.h" 18 #include "remoting/protocol/message_pipe.h"
19 #include "remoting/protocol/message_serialization.h" 19 #include "remoting/protocol/message_serialization.h"
20 20
21 namespace remoting { 21 namespace remoting {
22 namespace protocol { 22 namespace protocol {
23 23
24 class WebrtcDataStreamAdapter::Channel : public MessagePipe, 24 class WebrtcDataStreamAdapter::Channel : public MessagePipe,
25 public webrtc::DataChannelObserver { 25 public webrtc::DataChannelObserver {
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // |connected_callback|. 230 // |connected_callback|.
231 pending_channel.connected_callback.Run(std::move(pending_channel.channel)); 231 pending_channel.connected_callback.Run(std::move(pending_channel.channel));
232 } 232 }
233 233
234 void WebrtcDataStreamAdapter::OnChannelError() { 234 void WebrtcDataStreamAdapter::OnChannelError() {
235 error_callback_.Run(CHANNEL_CONNECTION_ERROR); 235 error_callback_.Run(CHANNEL_CONNECTION_ERROR);
236 } 236 }
237 237
238 } // namespace protocol 238 } // namespace protocol
239 } // namespace remoting 239 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/transport_context.cc ('k') | remoting/protocol/webrtc_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698