OLD | NEW |
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" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // Returns the Android build's codename. | 97 // Returns the Android build's codename. |
98 static std::string GetAndroidBuildCodename(); | 98 static std::string GetAndroidBuildCodename(); |
99 | 99 |
100 // Returns the Android build ID. | 100 // Returns the Android build ID. |
101 static std::string GetAndroidBuildID(); | 101 static std::string GetAndroidBuildID(); |
102 | 102 |
103 // Returns the device's name. | 103 // Returns the device's name. |
104 static std::string GetDeviceName(); | 104 static std::string GetDeviceName(); |
105 | 105 |
106 static int DalvikHeapSizeMB(); | 106 static int DalvikHeapSizeMB(); |
| 107 static int DalvikHeapGrowthLimitMB(); |
107 #endif // defined(OS_ANDROID) | 108 #endif // defined(OS_ANDROID) |
108 }; | 109 }; |
109 | 110 |
110 } // namespace base | 111 } // namespace base |
111 | 112 |
112 #endif // BASE_SYS_INFO_H_ | 113 #endif // BASE_SYS_INFO_H_ |
OLD | NEW |