Chromium Code Reviews| Index: chromeos/chromeos_switches.cc |
| diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc |
| index 4a6bdfa83a9b5e0c4b8e1a5cfacb13a082c95787..b3147e339052e28be84ab34680e48bda4e523e30 100644 |
| --- a/chromeos/chromeos_switches.cc |
| +++ b/chromeos/chromeos_switches.cc |
| @@ -418,6 +418,12 @@ const char kAttestationServer[] = "attestation-server"; |
| // of network packets from whitelisted sources. |
| const char kWakeOnWifiPacket[] = "wake-on-wifi-packet"; |
| +// Force system compositor mode when set. |
| +const char kEnableSystemCompositorMode[] = "enable-system-compositor-mode"; |
| + |
| +// Force disabling of system compositor mode when set. |
| +const char kDisableSystemCompositorMode[] = "disable-system-compositor-mode"; |
|
oshima
2017/01/05 22:43:57
optional suggestion: FeatureList instead of two fl
reveman
2017/01/06 08:15:14
I changed to a single flag in latest patch as I do
|
| + |
| bool WakeOnWifiEnabled() { |
| return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi); |
| } |