1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// Copyright 2013 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.
[
{
"namespace": "commandLinePrivate",
"description": "none",
"compiler_options": {"use_movable_types": true},
"functions": [
{
"name": "hasSwitch",
"type": "function",
"description": "Returns whether a switch is specified on the command line when launching Chrome.",
"parameters": [
{
"name": "name",
"type": "string",
"description": "The name of a command line switch, without leading \"--\", such as \"enable-experimental-extension-apis\"."
},
{
"name": "callback",
"type": "function",
"parameters": [
{
"name": "result",
"type": "boolean",
"description": "Whether the switch is specified on the command line."
}
]
}
]
}
]
}
]
|