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

Side by Side Diff: base/sys_info.h

Issue 12223064: base: Fix parsing and add dalvik-heap-limit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback, Created 7 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
« no previous file with comments | « no previous file | base/sys_info_android.cc » ('j') | base/sys_info_android.cc » ('J')
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"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | base/sys_info_android.cc » ('j') | base/sys_info_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698