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

Unified Diff: base/sys_info.h

Issue 10832235: Move Android user agent generation to native code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit fixes Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/sys_info_android.cc » ('j') | base/sys_info_android.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info.h
diff --git a/base/sys_info.h b/base/sys_info.h
index c95415e40872786a6ab022c59ff906ab237841c6..9425af0a6148016e032d4a8585ff7d83ea13744d 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -51,6 +51,11 @@ class BASE_EXPORT SysInfo {
int32* minor_version,
int32* bugfix_version);
+#if defined(OS_ANDROID)
willchan no longer on Chromium 2012/08/14 17:51:09 Why does this live here instead of webkit/glue, wh
gone 2012/08/14 17:58:37 It's not used solely for the user agent, but I'll
+ // Returns a string containing detailed info about the environment.
+ static std::string OperatingSystemInformation();
+#endif
+
// Returns the CPU architecture of the system. Exact return value may differ
// across platforms.
static std::string CPUArchitecture();
« 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