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 // Block ChildProcessMain thread of render process service until a Java debu
gger is attached. | 15 // Block ChildProcessMain thread of render process service until a Java debu
gger is attached. |
16 public static final String RENDERER_WAIT_FOR_JAVA_DEBUGGER = "renderer-wait-
for-java-debugger"; | 16 public static final String RENDERER_WAIT_FOR_JAVA_DEBUGGER = "renderer-wait-
for-java-debugger"; |
17 | 17 |
18 // Force low-end device when set to 1; | 18 // Force low-end device when set to 1; |
19 // Force non-low-end device when set to 0; | 19 // Force non-low-end device when set to 0; |
20 // Auto-detect low-end device when set to other values or empty; | 20 // Auto-detect low-end device when set to other values or empty; |
21 public static final String LOW_END_DEVICE_MODE = "low-end-device-mode"; | 21 public static final String LOW_END_DEVICE_MODE = "low-end-device-mode"; |
22 | 22 |
23 // Adds additional thread idle time information into the trace event output. | 23 // Adds additional thread idle time information into the trace event output. |
24 public static final String ENABLE_IDLE_TRACING = "enable-idle-tracing"; | 24 public static final String ENABLE_IDLE_TRACING = "enable-idle-tracing"; |
25 | 25 |
| 26 // Default country code to be used for search engine localization. |
| 27 public static final String DEFAULT_COUNTRY_CODE_AT_INSTALL = "default-countr
y-code"; |
| 28 |
26 // Prevent instantiation. | 29 // Prevent instantiation. |
27 private BaseSwitches() {} | 30 private BaseSwitches() {} |
28 } | 31 } |
OLD | NEW |