diff options
Diffstat (limited to 'chromium/base/system/sys_info.h')
-rw-r--r-- | chromium/base/system/sys_info.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/base/system/sys_info.h b/chromium/base/system/sys_info.h index 057b0dc45e8..ae3fef01811 100644 --- a/chromium/base/system/sys_info.h +++ b/chromium/base/system/sys_info.h @@ -160,6 +160,10 @@ class BASE_EXPORT SysInfo { // Returns the kernel version of the host operating system. static std::string KernelVersion(); + + // Crashes if running on Chrome OS non-test image. Use only for really + // sensitive and risky use cases. + static void CrashIfChromeOSNonTestImage(); #endif // defined(OS_CHROMEOS) #if defined(OS_ANDROID) |