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

Side by Side Diff: base/process/process.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/memory_win.cc ('k') | base/process/process_handle_freebsd.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 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 BASE_PROCESS_PROCESS_H_ 5 #ifndef BASE_PROCESS_PROCESS_H_
6 #define BASE_PROCESS_PROCESS_H_ 6 #define BASE_PROCESS_PROCESS_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h"
10 #include "base/move.h" 9 #include "base/move.h"
11 #include "base/process/process_handle.h" 10 #include "base/process/process_handle.h"
12 #include "base/time/time.h" 11 #include "base/time/time.h"
13 #include "build/build_config.h" 12 #include "build/build_config.h"
14 13
15 #if defined(OS_WIN) 14 #if defined(OS_WIN)
16 #include "base/win/scoped_handle.h" 15 #include "base/win/scoped_handle.h"
17 #endif 16 #endif
18 17
19 namespace base { 18 namespace base {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Exposed for testing. 142 // Exposed for testing.
144 // Given the contents of the /proc/<pid>/cgroup file, determine whether the 143 // Given the contents of the /proc/<pid>/cgroup file, determine whether the
145 // process is backgrounded or not. 144 // process is backgrounded or not.
146 BASE_EXPORT bool IsProcessBackgroundedCGroup( 145 BASE_EXPORT bool IsProcessBackgroundedCGroup(
147 const StringPiece& cgroup_contents); 146 const StringPiece& cgroup_contents);
148 #endif // defined(OS_CHROMEOS) 147 #endif // defined(OS_CHROMEOS)
149 148
150 } // namespace base 149 } // namespace base
151 150
152 #endif // BASE_PROCESS_PROCESS_H_ 151 #endif // BASE_PROCESS_PROCESS_H_
OLDNEW
« no previous file with comments | « base/process/memory_win.cc ('k') | base/process/process_handle_freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698