| 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 <stddef.h> |    8 #include <stddef.h> | 
|    9 #include <stdint.h> |    9 #include <stdint.h> | 
|   10  |   10  | 
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  139   // Returns the Android build ID. |  139   // Returns the Android build ID. | 
|  140   static std::string GetAndroidBuildID(); |  140   static std::string GetAndroidBuildID(); | 
|  141  |  141  | 
|  142   static int DalvikHeapSizeMB(); |  142   static int DalvikHeapSizeMB(); | 
|  143   static int DalvikHeapGrowthLimitMB(); |  143   static int DalvikHeapGrowthLimitMB(); | 
|  144 #endif  // defined(OS_ANDROID) |  144 #endif  // defined(OS_ANDROID) | 
|  145  |  145  | 
|  146   // Returns true if this is a low-end device. |  146   // Returns true if this is a low-end device. | 
|  147   // Low-end device refers to devices having less than 512M memory in the |  147   // Low-end device refers to devices having less than 512M memory in the | 
|  148   // current implementation. |  148   // current implementation. | 
 |  149   // See //base/memory/memory_coordinator.md. | 
|  149   static bool IsLowEndDevice(); |  150   static bool IsLowEndDevice(); | 
|  150 }; |  151 }; | 
|  151  |  152  | 
|  152 }  // namespace base |  153 }  // namespace base | 
|  153  |  154  | 
|  154 #endif  // BASE_SYS_INFO_H_ |  155 #endif  // BASE_SYS_INFO_H_ | 
| OLD | NEW |