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

Side by Side Diff: ipc/ipc_platform_file.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/ipc_perftest_support.cc ('k') | ipc/ipc_platform_file.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_IPC_PLATFORM_FILE_H_ 5 #ifndef IPC_IPC_PLATFORM_FILE_H_
6 #define IPC_IPC_PLATFORM_FILE_H_ 6 #define IPC_IPC_PLATFORM_FILE_H_
7 7
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "build/build_config.h"
10 #include "ipc/ipc_export.h" 11 #include "ipc/ipc_export.h"
11 12
12 #if defined(OS_POSIX) 13 #if defined(OS_POSIX)
13 #include "base/file_descriptor_posix.h" 14 #include "base/file_descriptor_posix.h"
14 #endif 15 #endif
15 16
16 namespace IPC { 17 namespace IPC {
17 18
18 #if defined(OS_WIN) 19 #if defined(OS_WIN)
19 typedef base::PlatformFile PlatformFileForTransit; 20 typedef base::PlatformFile PlatformFileForTransit;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 56
56 // Returns a file handle equivalent to |file| that can be used in |process|. 57 // Returns a file handle equivalent to |file| that can be used in |process|.
57 // Note that this function takes ownership of |file|. 58 // Note that this function takes ownership of |file|.
58 IPC_EXPORT PlatformFileForTransit TakeFileHandleForProcess( 59 IPC_EXPORT PlatformFileForTransit TakeFileHandleForProcess(
59 base::File file, 60 base::File file,
60 base::ProcessHandle process); 61 base::ProcessHandle process);
61 62
62 } // namespace IPC 63 } // namespace IPC
63 64
64 #endif // IPC_IPC_PLATFORM_FILE_H_ 65 #endif // IPC_IPC_PLATFORM_FILE_H_
OLDNEW
« no previous file with comments | « ipc/ipc_perftest_support.cc ('k') | ipc/ipc_platform_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698