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

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

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years 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/channel_multiplexer.h ('k') | remoting/protocol/channel_socket_adapter.h » ('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/protocol/channel_multiplexer.h" 5 #include "remoting/protocol/channel_multiplexer.h"
6 6
7 #include <stddef.h>
7 #include <string.h> 8 #include <string.h>
8 9
9 #include "base/bind.h" 10 #include "base/bind.h"
10 #include "base/callback.h" 11 #include "base/callback.h"
11 #include "base/callback_helpers.h" 12 #include "base/callback_helpers.h"
12 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/macros.h"
13 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
14 #include "base/stl_util.h" 16 #include "base/stl_util.h"
15 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
16 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
17 #include "remoting/protocol/message_serialization.h" 19 #include "remoting/protocol/message_serialization.h"
18 #include "remoting/protocol/p2p_stream_socket.h" 20 #include "remoting/protocol/p2p_stream_socket.h"
19 21
20 namespace remoting { 22 namespace remoting {
21 namespace protocol { 23 namespace protocol {
22 24
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 channel->OnIncomingPacket(packet.Pass(), done_task); 462 channel->OnIncomingPacket(packet.Pass(), done_task);
461 } 463 }
462 464
463 void ChannelMultiplexer::DoWrite(scoped_ptr<MultiplexPacket> packet, 465 void ChannelMultiplexer::DoWrite(scoped_ptr<MultiplexPacket> packet,
464 const base::Closure& done_task) { 466 const base::Closure& done_task) {
465 writer_.Write(SerializeAndFrameMessage(*packet), done_task); 467 writer_.Write(SerializeAndFrameMessage(*packet), done_task);
466 } 468 }
467 469
468 } // namespace protocol 470 } // namespace protocol
469 } // namespace remoting 471 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/channel_multiplexer.h ('k') | remoting/protocol/channel_socket_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698