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 5package 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 */ 11public abstract class BaseSwitches { 12 // Block onCreate() of Chrome until a Java debugger is attached. 13 public static final String WAIT_FOR_JAVA_DEBUGGER = "wait-for-java-debugger"; 14 15 // Block ChildProcessMain thread of render process service until a Java debugger is attached. 16 public static final String RENDERER_WAIT_FOR_JAVA_DEBUGGER = "renderer-wait-for-java-debugger"; 17 18 // Force low-end device when set to 1; 19 // Force non-low-end device when set to 0; 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"; 22 23 // Adds additional thread idle time information into the trace event output. 24 public static final String ENABLE_IDLE_TRACING = "enable-idle-tracing"; 25 26 // Prevent instantiation. 27 private BaseSwitches() {} 28} 29