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

Unified Diff: base/sys_info_posix.cc

Issue 11014006: Add Android fingerprint to metrics logs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removing XML changes Created 8 years, 2 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 | « base/sys_info_android.cc ('k') | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info_posix.cc
diff --git a/base/sys_info_posix.cc b/base/sys_info_posix.cc
index 73a71086362ca33e60230a50f624e9fe43593a09..3419cf23da41d35ea14882de6c83401cb6631295 100644
--- a/base/sys_info_posix.cc
+++ b/base/sys_info_posix.cc
@@ -50,7 +50,7 @@ int64 SysInfo::AmountOfFreeDiskSpace(const FilePath& path) {
return static_cast<int64>(stats.f_bavail) * stats.f_frsize;
}
-#if !defined(OS_MACOSX)
+#if !defined(OS_MACOSX) && !defined(OS_ANDROID)
// static
std::string SysInfo::OperatingSystemName() {
struct utsname info;
@@ -60,7 +60,9 @@ std::string SysInfo::OperatingSystemName() {
}
return std::string(info.sysname);
}
+#endif
+#if !defined(OS_MACOSX)
// static
std::string SysInfo::OperatingSystemVersion() {
struct utsname info;
« no previous file with comments | « base/sys_info_android.cc ('k') | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698