chromium/third_party/closure_compiler/externs/command_line_private.js

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file was generated by:
//   tools/json_schema_compiler/compiler.py.
// NOTE: The format of types has changed. 'FooType' is now
//   'chrome.commandLinePrivate.FooType'.
// Please run the closure compiler before committing changes.
// See https://chromium.googlesource.com/chromium/src/+/main/docs/closure_compilation.md

/**
 * @fileoverview Externs generated from namespace: commandLinePrivate
 * @externs
 */

/** @const */
chrome.commandLinePrivate = {};

/**
 * Returns whether a switch is specified on the command line when launching
 * Chrome.
 * @param {string} name The name of a command line switch, without leading "--",
 *     such as "enable-experimental-extension-apis".
 * @param {function(boolean): void} callback
 */
chrome.commandLinePrivate.hasSwitch = function(name, callback) {};