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

Side by Side Diff: base/process/kill.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/internal_linux.cc ('k') | base/process/kill_posix.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 routines to kill processes and get the exit code and 5 // This file contains routines to kill processes and get the exit code and
6 // termination status. 6 // termination status.
7 7
8 #ifndef BASE_PROCESS_KILL_H_ 8 #ifndef BASE_PROCESS_KILL_H_
9 #define BASE_PROCESS_KILL_H_ 9 #define BASE_PROCESS_KILL_H_
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/process/process.h" 12 #include "base/process/process.h"
13 #include "base/process/process_handle.h" 13 #include "base/process/process_handle.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "build/build_config.h"
15 16
16 namespace base { 17 namespace base {
17 18
18 class ProcessFilter; 19 class ProcessFilter;
19 20
20 // Return status values from GetTerminationStatus. Don't use these as 21 // Return status values from GetTerminationStatus. Don't use these as
21 // exit code arguments to KillProcess*(), use platform/application 22 // exit code arguments to KillProcess*(), use platform/application
22 // specific values instead. 23 // specific values instead.
23 enum TerminationStatus { 24 enum TerminationStatus {
24 TERMINATION_STATUS_NORMAL_TERMINATION, // zero exit status 25 TERMINATION_STATUS_NORMAL_TERMINATION, // zero exit status
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 126
126 #if defined(OS_POSIX) && !defined(OS_MACOSX) 127 #if defined(OS_POSIX) && !defined(OS_MACOSX)
127 // The nicer version of EnsureProcessTerminated() that is patient and will 128 // The nicer version of EnsureProcessTerminated() that is patient and will
128 // wait for |pid| to finish and then reap it. 129 // wait for |pid| to finish and then reap it.
129 BASE_EXPORT void EnsureProcessGetsReaped(ProcessId pid); 130 BASE_EXPORT void EnsureProcessGetsReaped(ProcessId pid);
130 #endif 131 #endif
131 132
132 } // namespace base 133 } // namespace base
133 134
134 #endif // BASE_PROCESS_KILL_H_ 135 #endif // BASE_PROCESS_KILL_H_
OLDNEW
« no previous file with comments | « base/process/internal_linux.cc ('k') | base/process/kill_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698