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

Side by Side Diff: base/process/launch.h

Issue 1543293004: Switch to standard integer types in base/process/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ssize_t 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 | « base/process/kill_win.cc ('k') | base/process/launch.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This file contains functions for launching subprocesses. 5 // This file contains functions for launching subprocesses.
6 6
7 #ifndef BASE_PROCESS_LAUNCH_H_ 7 #ifndef BASE_PROCESS_LAUNCH_H_
8 #define BASE_PROCESS_LAUNCH_H_ 8 #define BASE_PROCESS_LAUNCH_H_
9 9
10 #include <stddef.h>
11
10 #include <string> 12 #include <string>
11 #include <utility> 13 #include <utility>
12 #include <vector> 14 #include <vector>
13 15
14 #include "base/base_export.h" 16 #include "base/base_export.h"
15 #include "base/basictypes.h"
16 #include "base/environment.h" 17 #include "base/environment.h"
18 #include "base/macros.h"
17 #include "base/process/process.h" 19 #include "base/process/process.h"
18 #include "base/process/process_handle.h" 20 #include "base/process/process_handle.h"
19 #include "base/strings/string_piece.h" 21 #include "base/strings/string_piece.h"
22 #include "build/build_config.h"
20 23
21 #if defined(OS_POSIX) 24 #if defined(OS_POSIX)
22 #include "base/posix/file_descriptor_shuffle.h" 25 #include "base/posix/file_descriptor_shuffle.h"
23 #elif defined(OS_WIN) 26 #elif defined(OS_WIN)
24 #include <windows.h> 27 #include <windows.h>
25 #endif 28 #endif
26 29
27 namespace base { 30 namespace base {
28 31
29 class CommandLine; 32 class CommandLine;
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // multiple threads are running, since at the time the fork happened, the 304 // multiple threads are running, since at the time the fork happened, the
302 // threads could have been in any state (potentially holding locks, etc.). 305 // threads could have been in any state (potentially holding locks, etc.).
303 // Callers should most likely call execve() in the child soon after calling 306 // Callers should most likely call execve() in the child soon after calling
304 // this. 307 // this.
305 BASE_EXPORT pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid); 308 BASE_EXPORT pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid);
306 #endif 309 #endif
307 310
308 } // namespace base 311 } // namespace base
309 312
310 #endif // BASE_PROCESS_LAUNCH_H_ 313 #endif // BASE_PROCESS_LAUNCH_H_
OLDNEW
« no previous file with comments | « base/process/kill_win.cc ('k') | base/process/launch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698