xref: /aosp_15_r20/external/cronet/base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1// Copyright 2020 The Chromium Authors
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 final class BaseSwitches {{
12
13{NATIVE_STRINGS}
14
15    // Prefer CommonSwitches.RENDERER_WAIT_FOR_JAVA_DEBUGGER where possible.
16    // Block ChildProcessMain thread of render process service until a Java debugger
17    // is attached. To pause even earlier: am set-debug-app
18    // org.chromium.chrome:sandbox_process0 However, this flag is convenient when
19    // you don't know the process number, or want all renderers to pause
20    // (set-debug-app applies to only one process at a time).
21    public static final String RENDERER_WAIT_FOR_JAVA_DEBUGGER = "renderer-wait-for-java-debugger";
22
23    // Prevent instantiation.
24    private BaseSwitches() {{}}
25}}
26