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

Side by Side Diff: ipc/brokerable_attachment.h

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/attachment_broker_unprivileged_win.h ('k') | ipc/brokerable_attachment.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 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 #ifndef IPC_BROKERABLE_ATTACHMENT_H_ 5 #ifndef IPC_BROKERABLE_ATTACHMENT_H_
6 #define IPC_BROKERABLE_ATTACHMENT_H_ 6 #define IPC_BROKERABLE_ATTACHMENT_H_
7 7
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 10
10 #include <algorithm> 11 #include <algorithm>
11 12
12 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "build/build_config.h"
13 #include "ipc/ipc_export.h" 15 #include "ipc/ipc_export.h"
14 #include "ipc/ipc_message_attachment.h" 16 #include "ipc/ipc_message_attachment.h"
15 17
16 namespace IPC { 18 namespace IPC {
17 19
18 // This subclass of MessageAttachment requires an AttachmentBroker to be 20 // This subclass of MessageAttachment requires an AttachmentBroker to be
19 // attached to a Chrome IPC message. 21 // attached to a Chrome IPC message.
20 class IPC_EXPORT BrokerableAttachment : public MessageAttachment { 22 class IPC_EXPORT BrokerableAttachment : public MessageAttachment {
21 public: 23 public:
22 static const size_t kNonceSize = 16; 24 static const size_t kNonceSize = 16;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // This member uniquely identifies a BrokerableAttachment across all Chrome 82 // This member uniquely identifies a BrokerableAttachment across all Chrome
81 // processes. 83 // processes.
82 const AttachmentId id_; 84 const AttachmentId id_;
83 85
84 DISALLOW_COPY_AND_ASSIGN(BrokerableAttachment); 86 DISALLOW_COPY_AND_ASSIGN(BrokerableAttachment);
85 }; 87 };
86 88
87 } // namespace IPC 89 } // namespace IPC
88 90
89 #endif // IPC_BROKERABLE_ATTACHMENT_H_ 91 #endif // IPC_BROKERABLE_ATTACHMENT_H_
OLDNEW
« no previous file with comments | « ipc/attachment_broker_unprivileged_win.h ('k') | ipc/brokerable_attachment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698