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

Side by Side Diff: base/base_switches.cc

Issue 62833002: [Android] Add a low-end device mode override flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 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 unified diff | Download patch
« no previous file with comments | « base/base_switches.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "base/base_switches.h" 5 #include "base/base_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // If the program includes base/debug/debug_on_start_win.h, the process will 9 // If the program includes base/debug/debug_on_start_win.h, the process will
10 // (on Windows only) start the JIT system-registered debugger on itself and 10 // (on Windows only) start the JIT system-registered debugger on itself and
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Sends a pretty-printed version of tracing info to the console. 54 // Sends a pretty-printed version of tracing info to the console.
55 const char kTraceToConsole[] = "trace-to-console"; 55 const char kTraceToConsole[] = "trace-to-console";
56 56
57 #if defined(OS_POSIX) 57 #if defined(OS_POSIX)
58 // Used for turning on Breakpad crash reporting in a debug environment where 58 // Used for turning on Breakpad crash reporting in a debug environment where
59 // crash reporting is typically compiled but disabled. 59 // crash reporting is typically compiled but disabled.
60 const char kEnableCrashReporterForTesting[] = 60 const char kEnableCrashReporterForTesting[] =
61 "enable-crash-reporter-for-testing"; 61 "enable-crash-reporter-for-testing";
62 #endif 62 #endif
63 63
64 #if defined(OS_ANDROID)
65 // Overrides low-end device detection, disabling low-end device optimizations.
66 const char kDisableLowEndDeviceMode[] = "disable-low-end-device-mode";
67
68 // Overrides low-end device detection, enabling low-end device optimizations.
69 const char kEnableLowEndDeviceMode[] = "enable-low-end-device-mode";
70 #endif
71
64 } // namespace switches 72 } // namespace switches
OLDNEW
« no previous file with comments | « base/base_switches.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698