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

Unified Diff: base/sys_info.h

Issue 23904025: Move IsRunningOnChromeOS to SysInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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
Index: base/sys_info.h
diff --git a/base/sys_info.h b/base/sys_info.h
index 0415c727a0b279c49c8d9894c89de455a8f44624..15355a8dcfbf6614d3fd6f32c01f46b031ba7c7c 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -96,6 +96,9 @@ class BASE_EXPORT SysInfo {
// time of the ChromeOS build).
static Time GetLsbReleaseTime();
+ // Returns true when actually running in a ChromeOS environment.
Daniel Erat 2013/09/24 15:45:11 nit: s/ChromeOS/Chrome OS/
stevenjb 2013/09/26 22:07:38 Done.
+ static bool IsRunningOnChromeOS();
+
// Test method to force re-parsing of lsb-release.
static void SetChromeOSVersionInfoForTest(const std::string& lsb_release,
double lsb_release_time);
« no previous file with comments | « base/file_util_posix.cc ('k') | base/sys_info_chromeos.cc » ('j') | base/sys_info_chromeos.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698