summaryrefslogtreecommitdiffstats
path: root/third_party/closure_compiler/externs/command_line_private.js
blob: ea9c85cdb43332334a8366d1ae483bb2cc13e28a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

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

/**
 * @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)} callback
 */
chrome.commandLinePrivate.hasSwitch = function(name, callback) {};