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

Side by Side Diff: ipc/mojo/ipc_mojo_handle_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 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/mojo/ipc_mojo_handle_attachment.h ('k') | ipc/mojo/ipc_mojo_perftest.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 #include "ipc/mojo/ipc_mojo_handle_attachment.h" 5 #include "ipc/mojo/ipc_mojo_handle_attachment.h"
6 6
7 #include "build/build_config.h"
7 #include "ipc/ipc_message_attachment_set.h" 8 #include "ipc/ipc_message_attachment_set.h"
8 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 9 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
9 10
10 namespace IPC { 11 namespace IPC {
11 namespace internal { 12 namespace internal {
12 13
13 MojoHandleAttachment::MojoHandleAttachment(mojo::ScopedHandle handle) 14 MojoHandleAttachment::MojoHandleAttachment(mojo::ScopedHandle handle)
14 : handle_(handle.Pass()) { 15 : handle_(handle.Pass()) {
15 } 16 }
16 17
(...skipping 18 matching lines...) Expand all
35 return platform_handle.release().fd; 36 return platform_handle.release().fd;
36 } 37 }
37 #endif // OS_POSIX 38 #endif // OS_POSIX
38 39
39 mojo::ScopedHandle MojoHandleAttachment::TakeHandle() { 40 mojo::ScopedHandle MojoHandleAttachment::TakeHandle() {
40 return handle_.Pass(); 41 return handle_.Pass();
41 } 42 }
42 43
43 } // namespace internal 44 } // namespace internal
44 } // namespace IPC 45 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/mojo/ipc_mojo_handle_attachment.h ('k') | ipc/mojo/ipc_mojo_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698