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

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

Issue 20265004: Update include paths in base for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge ToT Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « base/process/process_iterator_linux.cc ('k') | base/process/process_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 for gathering resource statistics for processes 5 // This file contains routines for gathering resource statistics for processes
6 // running on the system. 6 // running on the system.
7 7
8 #ifndef BASE_PROCESS_PROCESS_METRICS_H_ 8 #ifndef BASE_PROCESS_PROCESS_METRICS_H_
9 #define BASE_PROCESS_PROCESS_METRICS_H_ 9 #define BASE_PROCESS_PROCESS_METRICS_H_
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/base_export.h" 13 #include "base/base_export.h"
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/process.h" 15 #include "base/process/process_handle.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 17
18 #if defined(OS_MACOSX) 18 #if defined(OS_MACOSX)
19 #include <mach/mach.h> 19 #include <mach/mach.h>
20 #endif 20 #endif
21 21
22 namespace base { 22 namespace base {
23 23
24 #if defined(OS_WIN) 24 #if defined(OS_WIN)
25 struct IoCounters : public IO_COUNTERS { 25 struct IoCounters : public IO_COUNTERS {
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 #if defined(OS_POSIX) 261 #if defined(OS_POSIX)
262 // Returns the maximum number of file descriptors that can be open by a process 262 // Returns the maximum number of file descriptors that can be open by a process
263 // at once. If the number is unavailable, a conservative best guess is returned. 263 // at once. If the number is unavailable, a conservative best guess is returned.
264 size_t GetMaxFds(); 264 size_t GetMaxFds();
265 #endif // defined(OS_POSIX) 265 #endif // defined(OS_POSIX)
266 266
267 } // namespace base 267 } // namespace base
268 268
269 #endif // BASE_PROCESS_PROCESS_METRICS_H_ 269 #endif // BASE_PROCESS_PROCESS_METRICS_H_
OLDNEW
« no previous file with comments | « base/process/process_iterator_linux.cc ('k') | base/process/process_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698