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

Side by Side Diff: base/base_switches.h

Issue 119493005: Expose a low-end device mode override flags for non-android OSs as well (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Put low end device detection under the flag for all platforms except android. Created 6 years, 11 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines all the "base" command-line switches. 5 // Defines all the "base" command-line switches.
6 6
7 #ifndef BASE_BASE_SWITCHES_H_ 7 #ifndef BASE_BASE_SWITCHES_H_
8 #define BASE_BASE_SWITCHES_H_ 8 #define BASE_BASE_SWITCHES_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 11
12 namespace switches { 12 namespace switches {
13 13
14 extern const char kDebugOnStart[]; 14 extern const char kDebugOnStart[];
15 extern const char kDisableBreakpad[]; 15 extern const char kDisableBreakpad[];
16 extern const char kDisableLowEndDeviceMode[];
16 extern const char kEnableCrashReporter[]; 17 extern const char kEnableCrashReporter[];
17 extern const char kEnableDCHECK[]; 18 extern const char kEnableDCHECK[];
19 extern const char kEnableLowEndDeviceMode[];
18 extern const char kFullMemoryCrashReport[]; 20 extern const char kFullMemoryCrashReport[];
19 extern const char kNoErrorDialogs[]; 21 extern const char kNoErrorDialogs[];
20 extern const char kProfilerTiming[]; 22 extern const char kProfilerTiming[];
21 extern const char kProfilerTimingDisabledValue[]; 23 extern const char kProfilerTimingDisabledValue[];
22 extern const char kTestChildProcess[]; 24 extern const char kTestChildProcess[];
23 extern const char kTraceToConsole[]; 25 extern const char kTraceToConsole[];
24 extern const char kV[]; 26 extern const char kV[];
25 extern const char kVModule[]; 27 extern const char kVModule[];
26 extern const char kWaitForDebugger[]; 28 extern const char kWaitForDebugger[];
27 29
28 #if defined(OS_POSIX) 30 #if defined(OS_POSIX)
29 extern const char kEnableCrashReporterForTesting[]; 31 extern const char kEnableCrashReporterForTesting[];
30 #endif 32 #endif
31 33
32 #if defined(OS_ANDROID)
33 extern const char kDisableLowEndDeviceMode[];
34 extern const char kEnableLowEndDeviceMode[];
35 #endif
36
37 } // namespace switches 34 } // namespace switches
38 35
39 #endif // BASE_BASE_SWITCHES_H_ 36 #endif // BASE_BASE_SWITCHES_H_
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/base_switches.cc » ('j') | base/sys_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698