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

Side by Side Diff: ipc/brokerable_attachment.cc

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « ipc/brokerable_attachment.h ('k') | ipc/ipc_channel.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 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 "ipc/brokerable_attachment.h" 5 #include "ipc/brokerable_attachment.h"
6 6
7 #include <stddef.h>
8
9 #include "build/build_config.h"
7 #include "ipc/attachment_broker.h" 10 #include "ipc/attachment_broker.h"
8 11
9 namespace IPC { 12 namespace IPC {
10 13
11 // BrokerableAttachment::AttachmentId ------------------------------------------ 14 // BrokerableAttachment::AttachmentId ------------------------------------------
12 #if !USE_ATTACHMENT_BROKER 15 #if !USE_ATTACHMENT_BROKER
13 // static 16 // static
14 BrokerableAttachment::AttachmentId 17 BrokerableAttachment::AttachmentId
15 BrokerableAttachment::AttachmentId::CreateIdWithRandomNonce() { 18 BrokerableAttachment::AttachmentId::CreateIdWithRandomNonce() {
16 CHECK(false) << "Platforms that don't support attachment brokering shouldn't " 19 CHECK(false) << "Platforms that don't support attachment brokering shouldn't "
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 63 }
61 64
62 #if defined(OS_POSIX) 65 #if defined(OS_POSIX)
63 base::PlatformFile BrokerableAttachment::TakePlatformFile() { 66 base::PlatformFile BrokerableAttachment::TakePlatformFile() {
64 NOTREACHED(); 67 NOTREACHED();
65 return base::PlatformFile(); 68 return base::PlatformFile();
66 } 69 }
67 #endif // OS_POSIX 70 #endif // OS_POSIX
68 71
69 } // namespace IPC 72 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/brokerable_attachment.h ('k') | ipc/ipc_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698