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

Side by Side Diff: ipc/mach_port_attachment_mac.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/ipc_test_sink.cc ('k') | ipc/mach_port_attachment_mac.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_MACH_PORT_ATTACHMENT_MAC_H_ 5 #ifndef IPC_MACH_PORT_ATTACHMENT_MAC_H_
6 #define IPC_MACH_PORT_ATTACHMENT_MAC_H_ 6 #define IPC_MACH_PORT_ATTACHMENT_MAC_H_
7 7
8 #include <mach/mach.h> 8 #include <mach/mach.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include "base/macros.h"
11 #include "base/process/process_handle.h" 12 #include "base/process/process_handle.h"
12 #include "ipc/brokerable_attachment.h" 13 #include "ipc/brokerable_attachment.h"
13 #include "ipc/ipc_export.h" 14 #include "ipc/ipc_export.h"
14 #include "ipc/mach_port_mac.h" 15 #include "ipc/mach_port_mac.h"
15 16
16 namespace IPC { 17 namespace IPC {
17 namespace internal { 18 namespace internal {
18 19
19 // This class represents an OSX mach_port_t attached to a Chrome IPC message. 20 // This class represents an OSX mach_port_t attached to a Chrome IPC message.
20 class IPC_EXPORT MachPortAttachmentMac : public BrokerableAttachment { 21 class IPC_EXPORT MachPortAttachmentMac : public BrokerableAttachment {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // client code that receives the Chrome IPC message is always expected to take 77 // client code that receives the Chrome IPC message is always expected to take
77 // ownership. 78 // ownership.
78 bool owns_mach_port_; 79 bool owns_mach_port_;
79 DISALLOW_COPY_AND_ASSIGN(MachPortAttachmentMac); 80 DISALLOW_COPY_AND_ASSIGN(MachPortAttachmentMac);
80 }; 81 };
81 82
82 } // namespace internal 83 } // namespace internal
83 } // namespace IPC 84 } // namespace IPC
84 85
85 #endif // IPC_MACH_PORT_ATTACHMENT_MAC_H_ 86 #endif // IPC_MACH_PORT_ATTACHMENT_MAC_H_
OLDNEW
« no previous file with comments | « ipc/ipc_test_sink.cc ('k') | ipc/mach_port_attachment_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698