summaryrefslogtreecommitdiffstats
path: root/base/base_switches.h
diff options
context:
space:
mode:
authorjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-27 16:40:53 +0000
committerjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-27 16:40:53 +0000
commit705872bdc38e14bac98b4999acc8d6294ea06218 (patch)
treece999e48fb384a4b4a5ff39f1405800ee72042da /base/base_switches.h
parent48b902d876262215df2a783f01597a48c5b93715 (diff)
downloadchromium_src-705872bdc38e14bac98b4999acc8d6294ea06218.zip
chromium_src-705872bdc38e14bac98b4999acc8d6294ea06218.tar.gz
chromium_src-705872bdc38e14bac98b4999acc8d6294ea06218.tar.bz2
[Android] Add a low-end device mode override flag
The current low-end device optimizations are restricted to devices that meet certain memory and OS version criteria. Add a flag that overrides this detection, simplifying testing and allowing power users to take advantage of the optimizations. BUG=320747 Review URL: https://codereview.chromium.org/62833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237584 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_switches.h')
-rw-r--r--base/base_switches.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/base_switches.h b/base/base_switches.h
index 33b2b68..b2bf7ab 100644
--- a/base/base_switches.h
+++ b/base/base_switches.h
@@ -27,6 +27,11 @@ extern const char kTraceToConsole[];
extern const char kEnableCrashReporterForTesting[];
#endif
+#if defined(OS_ANDROID)
+extern const char kDisableLowEndDeviceMode[];
+extern const char kEnableLowEndDeviceMode[];
+#endif
+
} // namespace switches
#endif // BASE_BASE_SWITCHES_H_