diff options
author | ssid <ssid@chromium.org> | 2014-12-16 08:04:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-16 16:04:34 +0000 |
commit | feb3f47d155857c7b59d101b3d5e933245bac836 (patch) | |
tree | ea336bdc7ad700c8776d5b1feade83c08e6c48df /base/base_switches.cc | |
parent | fddf2473ddeedafe13558f247fa57e04c782545c (diff) | |
download | chromium_src-feb3f47d155857c7b59d101b3d5e933245bac836.zip chromium_src-feb3f47d155857c7b59d101b3d5e933245bac836.tar.gz chromium_src-feb3f47d155857c7b59d101b3d5e933245bac836.tar.bz2 |
Removed discrepancy in low-end-device-mode flag
Removed the flag low-end-device-mode and added two flags enable-low-end-device-mode and disable-low-end-device-mode. This removes discrepancies between the flag values (integers) when used in different platforms and makes it simple to use with the just the flags and no values passed.
BUG=437778
Review URL: https://codereview.chromium.org/761783004
Cr-Commit-Position: refs/heads/master@{#308593}
Diffstat (limited to 'base/base_switches.cc')
-rw-r--r-- | base/base_switches.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/base/base_switches.cc b/base/base_switches.cc index 27f52cd..3076540 100644 --- a/base/base_switches.cc +++ b/base/base_switches.cc @@ -17,10 +17,11 @@ const char kEnableCrashReporter[] = "enable-crash-reporter"; // Generates full memory crash dump. const char kFullMemoryCrashReport[] = "full-memory-crash-report"; -// Force low-end device when set to 1; -// Auto-detect low-end device when set to 2; -// Force non-low-end device when set to other values or empty; -const char kLowEndDeviceMode[] = "low-end-device-mode"; +// Force low-end device mode when set. +const char kEnableLowEndDeviceMode[] = "enable-low-end-device-mode"; + +// Force disabling of low-end device mode when set. +const char kDisableLowEndDeviceMode[] = "disable-low-end-device-mode"; // Suppresses all error dialogs when present. const char kNoErrorDialogs[] = "noerrdialogs"; |