Index: base/sys_info.h |
diff --git a/base/sys_info.h b/base/sys_info.h |
index 564832d131f9a56cd4dfafa0be46f4bdb72f11fd..ba45bfcd345763b83ac6fd83aa7eb5152d7d1ea2 100644 |
--- a/base/sys_info.h |
+++ b/base/sys_info.h |
@@ -96,6 +96,9 @@ class BASE_EXPORT SysInfo { |
// time of the Chrome OS build). |
static Time GetLsbReleaseTime(); |
+ // Returns true when actually running in a Chrome OS environment. |
+ static bool IsRunningOnChromeOS(); |
+ |
// Test method to force re-parsing of lsb-release. |
static void SetChromeOSVersionInfoForTest(const std::string& lsb_release, |
const Time& lsb_release_time); |