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

Side by Side Diff: base/sys_info.h

Issue 2678323002: Add documentation for MemoryCoordinator-related primitives
Patch Set: temp Created 3 years, 10 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
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 <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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698