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

Side by Side Diff: ipc/mojo/ipc_mojo_handle_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 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/mojo/ipc_mojo_bootstrap_unittest.cc ('k') | ipc/mojo/ipc_mojo_handle_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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_MOJO_IPC_MOJO_HANDLE_ATTACHMENT_H_ 5 #ifndef IPC_MOJO_IPC_MOJO_HANDLE_ATTACHMENT_H_
6 #define IPC_MOJO_IPC_MOJO_HANDLE_ATTACHMENT_H_ 6 #define IPC_MOJO_IPC_MOJO_HANDLE_ATTACHMENT_H_
7 7
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/macros.h"
10 #include "build/build_config.h"
9 #include "ipc/ipc_export.h" 11 #include "ipc/ipc_export.h"
10 #include "ipc/ipc_message_attachment.h" 12 #include "ipc/ipc_message_attachment.h"
11 #include "mojo/public/cpp/system/handle.h" 13 #include "mojo/public/cpp/system/handle.h"
12 14
13 namespace IPC { 15 namespace IPC {
14 16
15 namespace internal { 17 namespace internal {
16 18
17 // A MessageAttachment that holds a MojoHandle. 19 // A MessageAttachment that holds a MojoHandle.
18 // * On the sending side, every Mojo handle is a MessagePipe. This is because 20 // * On the sending side, every Mojo handle is a MessagePipe. This is because
(...skipping 22 matching lines...) Expand all
41 ~MojoHandleAttachment() override; 43 ~MojoHandleAttachment() override;
42 mojo::ScopedHandle handle_; 44 mojo::ScopedHandle handle_;
43 45
44 DISALLOW_COPY_AND_ASSIGN(MojoHandleAttachment); 46 DISALLOW_COPY_AND_ASSIGN(MojoHandleAttachment);
45 }; 47 };
46 48
47 } // namespace internal 49 } // namespace internal
48 } // namespace IPC 50 } // namespace IPC
49 51
50 #endif // IPC_MOJO_IPC_MOJO_HANDLE_ATTACHMENT_H_ 52 #endif // IPC_MOJO_IPC_MOJO_HANDLE_ATTACHMENT_H_
OLDNEW
« no previous file with comments | « ipc/mojo/ipc_mojo_bootstrap_unittest.cc ('k') | ipc/mojo/ipc_mojo_handle_attachment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698