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

Unified Diff: base/sys_info_posix.cc

Issue 7065041: Fix OperatingSystemName and OperatingSystemVersion on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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_mac.cc ('k') | content/browser/gpu/gpu_blacklist.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 3f487e523deee7703ac0f440aa6592608cbe54c3..1ef56e76d04c2ef40e47233fe77e77a51823a5ee 100644
--- a/base/sys_info_posix.cc
+++ b/base/sys_info_posix.cc
@@ -46,6 +46,7 @@ int64 SysInfo::AmountOfFreeDiskSpace(const FilePath& path) {
return static_cast<int64>(stats.f_bavail) * stats.f_frsize;
}
+#if !defined(OS_MACOSX)
// static
std::string SysInfo::OperatingSystemName() {
utsname info;
@@ -65,6 +66,7 @@ std::string SysInfo::OperatingSystemVersion() {
}
return std::string(info.release);
}
+#endif
// static
std::string SysInfo::CPUArchitecture() {
« no previous file with comments | « base/sys_info_mac.cc ('k') | content/browser/gpu/gpu_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698