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

Unified Diff: base/sys_info.h

Issue 2585633004: ozone: Allow ozone evdev/kvm features to be enabled without running on ChromeOS. (Closed)
Patch Set: fix bad rebase Created 4 years 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 e35feff735e4ac3783d1870ae04d711ef7cdd7fc..07ed0aef74bd6548e9c29d70014e8401455700af 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -130,6 +130,10 @@ class BASE_EXPORT SysInfo {
// Test method to force re-parsing of lsb-release.
static void SetChromeOSVersionInfoForTest(const std::string& lsb_release,
const Time& lsb_release_time);
+
+ // Returns true when running as system compositor. Ie. using libudev, kms and
+ // evdev for input and output.
+ static bool IsRunningAsSystemCompositor();
rjkroege 2017/01/02 01:26:27 nitpicking that you can ignore: what you mean here
reveman 2017/01/02 07:11:32 I'm expected that we'll keep having support for ru
#endif // defined(OS_CHROMEOS)
#if defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698