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

Side by Side Diff: remoting/protocol/channel_multiplexer.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
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/protocol/channel_multiplexer.h" 5 #include "remoting/protocol/channel_multiplexer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/callback_helpers.h" 14 #include "base/callback_helpers.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/stl_util.h" 18 #include "base/stl_util.h"
19 #include "base/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
20 #include "net/base/net_errors.h" 20 #include "net/base/net_errors.h"
21 #include "remoting/protocol/message_serialization.h" 21 #include "remoting/protocol/message_serialization.h"
22 #include "remoting/protocol/p2p_stream_socket.h" 22 #include "remoting/protocol/p2p_stream_socket.h"
23 23
24 namespace remoting { 24 namespace remoting {
25 namespace protocol { 25 namespace protocol {
26 26
27 namespace { 27 namespace {
28 const int kChannelIdUnknown = -1; 28 const int kChannelIdUnknown = -1;
29 const int kMaxPacketSize = 1024; 29 const int kMaxPacketSize = 1024;
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 channel->OnIncomingPacket(std::move(packet)); 457 channel->OnIncomingPacket(std::move(packet));
458 } 458 }
459 459
460 void ChannelMultiplexer::DoWrite(std::unique_ptr<MultiplexPacket> packet, 460 void ChannelMultiplexer::DoWrite(std::unique_ptr<MultiplexPacket> packet,
461 const base::Closure& done_task) { 461 const base::Closure& done_task) {
462 writer_.Write(SerializeAndFrameMessage(*packet), done_task); 462 writer_.Write(SerializeAndFrameMessage(*packet), done_task);
463 } 463 }
464 464
465 } // namespace protocol 465 } // namespace protocol
466 } // namespace remoting 466 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/wts_session_process_delegate.cc ('k') | remoting/protocol/fake_datagram_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698