OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 package org.chromium.base; | 5 package org.chromium.base; |
6 | 6 |
7 /** | 7 /** |
8 * Contains all of the command line switches that are specific to the base/ | 8 * Contains all of the command line switches that are specific to the base/ |
9 * portion of Chromium on Android. | 9 * portion of Chromium on Android. |
10 */ | 10 */ |
11 public abstract class BaseSwitches { | 11 public abstract class BaseSwitches { |
12 // Block onCreate() of Chrome until a Java debugger is attached. | 12 // Block onCreate() of Chrome until a Java debugger is attached. |
13 public static final String WAIT_FOR_JAVA_DEBUGGER = "wait-for-java-debugger"
; | 13 public static final String WAIT_FOR_JAVA_DEBUGGER = "wait-for-java-debugger"
; |
14 | 14 |
15 // Overrides low-end device detection, disabling low-end device optimization
s. | 15 // Force low-end device when set to 1; |
16 public static final String DISABLE_LOW_END_DEVICE_MODE = "disable-low-end-de
vice-mode"; | 16 // Force non-low-end device when set to 0; |
17 | 17 // Auto-detect low-end device when set to other values or empty; |
18 // Overrides low-end device detection, enabling low-end device optimizations
. | 18 public static final String LOW_END_DEVICE_MODE = "low-end-device-mode"; |
19 public static final String ENABLE_LOW_END_DEVICE_MODE = "enable-low-end-devi
ce-mode"; | |
20 | 19 |
21 // Adds additional thread idle time information into the trace event output. | 20 // Adds additional thread idle time information into the trace event output. |
22 public static final String ENABLE_IDLE_TRACING = "enable-idle-tracing"; | 21 public static final String ENABLE_IDLE_TRACING = "enable-idle-tracing"; |
23 | 22 |
24 // Prevent instantiation. | 23 // Prevent instantiation. |
25 private BaseSwitches() {} | 24 private BaseSwitches() {} |
26 } | 25 } |
OLD | NEW |