Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: chrome/common/extensions/api/command_line_private.json

Issue 1828683002: [Extensions] Convert APIs to use movable types [3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "commandLinePrivate", 7 "namespace": "commandLinePrivate",
8 "description": "none", 8 "description": "none",
9 "compiler_options": {"use_movable_types": true},
9 "functions": [ 10 "functions": [
10 { 11 {
11 "name": "hasSwitch", 12 "name": "hasSwitch",
12 "type": "function", 13 "type": "function",
13 "description": "Returns whether a switch is specified on the command lin e when launching Chrome.", 14 "description": "Returns whether a switch is specified on the command lin e when launching Chrome.",
14 "parameters": [ 15 "parameters": [
15 { 16 {
16 "name": "name", 17 "name": "name",
17 "type": "string", 18 "type": "string",
18 "description": "The name of a command line switch, without leading \ "--\", such as \"enable-experimental-extension-apis\"." 19 "description": "The name of a command line switch, without leading \ "--\", such as \"enable-experimental-extension-apis\"."
19 }, 20 },
20 { 21 {
21 "name": "callback", 22 "name": "callback",
22 "type": "function", 23 "type": "function",
23 "parameters": [ 24 "parameters": [
24 { 25 {
25 "name": "result", 26 "name": "result",
26 "type": "boolean", 27 "type": "boolean",
27 "description": "Whether the switch is specified on the command l ine." 28 "description": "Whether the switch is specified on the command l ine."
28 } 29 }
29 ] 30 ]
30 } 31 }
31 ] 32 ]
32 } 33 }
33 ] 34 ]
34 } 35 }
35 ] 36 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/cloud_print_private.json ('k') | chrome/common/extensions/api/commands.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698