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
3 // found in the LICENSE file.
4 
5 package org.chromium.base;
6 
7 /**
8  * Contains all of the command line switches that are specific to the base/
9  * portion of Chromium on Android.
10  */
11 public abstract class BaseSwitches {
12     // Block ChildProcessMain thread of render process service until a Java debugger is attached.
13     // To pause even earlier: am set-debug-app org.chromium.chrome:sandbox_process0
14     // However, this flag is convenient when you don't know the process number, or want
15     // all renderers to pause (set-debug-app applies to only one process at a time).
16     public static final String RENDERER_WAIT_FOR_JAVA_DEBUGGER = "renderer-wait-for-java-debugger";
17 
18     // Force low-end device mode when set.
19     public static final String ENABLE_LOW_END_DEVICE_MODE = "enable-low-end-device-mode";
20 
21     // Force disabling of low-end device mode when set.
22     public static final String DISABLE_LOW_END_DEVICE_MODE = "disable-low-end-device-mode";
23 
24     // Adds additional thread idle time information into the trace event output.
25     public static final String ENABLE_IDLE_TRACING = "enable-idle-tracing";
26 
27     // Default country code to be used for search engine localization.
28     public static final String DEFAULT_COUNTRY_CODE_AT_INSTALL = "default-country-code";
29 
30     // Prevent instantiation.
BaseSwitches()31     private BaseSwitches() {}
32 }
33