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

Side by Side Diff: ipc/ipc_channel_reader.cc

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « ipc/ipc_channel_reader.h ('k') | ipc/ipc_channel_reader_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 "ipc/ipc_channel_reader.h" 5 #include "ipc/ipc_channel_reader.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
10 #include "ipc/ipc_listener.h" 12 #include "ipc/ipc_listener.h"
11 #include "ipc/ipc_logging.h" 13 #include "ipc/ipc_logging.h"
12 #include "ipc/ipc_message.h" 14 #include "ipc/ipc_message.h"
13 #include "ipc/ipc_message_attachment_set.h" 15 #include "ipc/ipc_message_attachment_set.h"
14 #include "ipc/ipc_message_macros.h" 16 #include "ipc/ipc_message_macros.h"
15 #include "ipc/ipc_message_start.h" 17 #include "ipc/ipc_message_start.h"
16 18
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 if (size <= Channel::kMaximumMessageSize) { 334 if (size <= Channel::kMaximumMessageSize) {
333 return true; 335 return true;
334 } 336 }
335 input_overflow_buf_.clear(); 337 input_overflow_buf_.clear();
336 LOG(ERROR) << "IPC message is too big: " << size; 338 LOG(ERROR) << "IPC message is too big: " << size;
337 return false; 339 return false;
338 } 340 }
339 341
340 } // namespace internal 342 } // namespace internal
341 } // namespace IPC 343 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_channel_reader.h ('k') | ipc/ipc_channel_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698