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

Side by Side Diff: ipc/ipc_message.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_message.h ('k') | ipc/ipc_message_attachment.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 "ipc/ipc_message.h" 5 #include "ipc/ipc_message.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stddef.h>
9 #include <stdint.h>
8 10
9 #include "base/atomic_sequence_num.h" 11 #include "base/atomic_sequence_num.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "build/build_config.h" 13 #include "build/build_config.h"
12 #include "ipc/attachment_broker.h" 14 #include "ipc/attachment_broker.h"
13 #include "ipc/ipc_message_attachment.h" 15 #include "ipc/ipc_message_attachment.h"
14 #include "ipc/ipc_message_attachment_set.h" 16 #include "ipc/ipc_message_attachment_set.h"
15 #include "ipc/placeholder_brokerable_attachment.h" 17 #include "ipc/placeholder_brokerable_attachment.h"
16 18
17 #if defined(OS_POSIX) 19 #if defined(OS_POSIX)
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 bool Message::HasMojoHandles() const { 291 bool Message::HasMojoHandles() const {
290 return attachment_set_.get() && attachment_set_->num_mojo_handles() > 0; 292 return attachment_set_.get() && attachment_set_->num_mojo_handles() > 0;
291 } 293 }
292 294
293 bool Message::HasBrokerableAttachments() const { 295 bool Message::HasBrokerableAttachments() const {
294 return attachment_set_.get() && 296 return attachment_set_.get() &&
295 attachment_set_->num_brokerable_attachments() > 0; 297 attachment_set_->num_brokerable_attachments() > 0;
296 } 298 }
297 299
298 } // namespace IPC 300 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_message.h ('k') | ipc/ipc_message_attachment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698