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

Side by Side Diff: base/sys_info.h

Issue 1236283002: [Android] Remove deprecated SysInfo property retrieval (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review Created 5 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
« no previous file with comments | « base/android/java/src/org/chromium/base/BuildInfo.java ('k') | base/sys_info_android.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) 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 #endif // defined(OS_CHROMEOS) 123 #endif // defined(OS_CHROMEOS)
124 124
125 #if defined(OS_ANDROID) 125 #if defined(OS_ANDROID)
126 // Returns the Android build's codename. 126 // Returns the Android build's codename.
127 static std::string GetAndroidBuildCodename(); 127 static std::string GetAndroidBuildCodename();
128 128
129 // Returns the Android build ID. 129 // Returns the Android build ID.
130 static std::string GetAndroidBuildID(); 130 static std::string GetAndroidBuildID();
131 131
132 static int DalvikHeapSizeMB(); 132 static int DalvikHeapSizeMB();
133 static int DalvikHeapGrowthLimitMB();
134 #endif // defined(OS_ANDROID) 133 #endif // defined(OS_ANDROID)
135 134
136 // Returns true if this is a low-end device. 135 // Returns true if this is a low-end device.
137 // Low-end device refers to devices having less than 512M memory in the 136 // Low-end device refers to devices having less than 512M memory in the
138 // current implementation. 137 // current implementation.
139 static bool IsLowEndDevice(); 138 static bool IsLowEndDevice();
140 }; 139 };
141 140
142 } // namespace base 141 } // namespace base
143 142
144 #endif // BASE_SYS_INFO_H_ 143 #endif // BASE_SYS_INFO_H_
OLDNEW
« no previous file with comments | « base/android/java/src/org/chromium/base/BuildInfo.java ('k') | base/sys_info_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698