|
OLD | NEW |
---|---|
(Empty) | |
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 | |
5 [ | |
6 { | |
7 "namespace": "commandLinePrivate", | |
8 "nodoc": true, | |
not at google - send to devlin
2013/04/15 06:08:45
nodoc isn't necessary since we're not adding a tem
方觉(Fang Jue)
2013/04/15 06:25:03
Done.
Actually, many private APIs use nodoc here b
not at google - send to devlin
2013/04/15 06:26:52
Yeah this is a relic.
| |
9 "functions": [ | |
10 { | |
11 "name": "hasSwitch", | |
12 "type": "function", | |
13 "description": "Returns whether a switch is specified on the command lin e when launching Chrome.", | |
14 "parameters": [ | |
15 { | |
16 "name": "name", | |
17 "type": "string", | |
18 "description": "The name of a command line switch, without leading \ "--\", such as \"enable-experimental-extension-apis\"." | |
19 }, | |
20 { | |
21 "name": "callback", | |
22 "type": "function", | |
23 "parameters": [ | |
24 { | |
25 "name": "result", | |
26 "type": "boolean", | |
27 "description": "Whether the switch is specified on the command l ine." | |
28 } | |
29 ] | |
30 } | |
31 ] | |
32 } | |
33 ] | |
34 } | |
35 ] | |
OLD | NEW |