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

Side by Side Diff: base/sys_info.h

Issue 11087021: Cleanup: IWYU for base/time.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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_info.h ('k') | base/threading/worker_pool_posix.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SYS_INFO_H_ 5 #ifndef BASE_SYS_INFO_H_
6 #define BASE_SYS_INFO_H_ 6 #define BASE_SYS_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/base_export.h" 10 #include "base/base_export.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/time.h"
14 #include "build/build_config.h" 13 #include "build/build_config.h"
15 14
16 namespace base { 15 namespace base {
17 16
18 class BASE_EXPORT SysInfo { 17 class BASE_EXPORT SysInfo {
19 public: 18 public:
20 // Return the number of logical processors/cores on the current machine. 19 // Return the number of logical processors/cores on the current machine.
21 static int NumberOfProcessors(); 20 static int NumberOfProcessors();
22 21
23 // Return the number of bytes of physical memory on the current machine. 22 // Return the number of bytes of physical memory on the current machine.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // Returns the device's name. 97 // Returns the device's name.
99 static std::string GetDeviceName(); 98 static std::string GetDeviceName();
100 99
101 static int DalvikHeapSizeMB(); 100 static int DalvikHeapSizeMB();
102 #endif // defined(OS_ANDROID) 101 #endif // defined(OS_ANDROID)
103 }; 102 };
104 103
105 } // namespace base 104 } // namespace base
106 105
107 #endif // BASE_SYS_INFO_H_ 106 #endif // BASE_SYS_INFO_H_
OLDNEW
« no previous file with comments | « base/process_info.h ('k') | base/threading/worker_pool_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698