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); |