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

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

Issue 1848103005: [Extensions] Remove the "use_movable_types" entry from idl/json files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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},
10 "functions": [ 9 "functions": [
11 { 10 {
12 "name": "hasSwitch", 11 "name": "hasSwitch",
13 "type": "function", 12 "type": "function",
14 "description": "Returns whether a switch is specified on the command lin e when launching Chrome.", 13 "description": "Returns whether a switch is specified on the command lin e when launching Chrome.",
15 "parameters": [ 14 "parameters": [
16 { 15 {
17 "name": "name", 16 "name": "name",
18 "type": "string", 17 "type": "string",
19 "description": "The name of a command line switch, without leading \ "--\", such as \"enable-experimental-extension-apis\"." 18 "description": "The name of a command line switch, without leading \ "--\", such as \"enable-experimental-extension-apis\"."
20 }, 19 },
21 { 20 {
22 "name": "callback", 21 "name": "callback",
23 "type": "function", 22 "type": "function",
24 "parameters": [ 23 "parameters": [
25 { 24 {
26 "name": "result", 25 "name": "result",
27 "type": "boolean", 26 "type": "boolean",
28 "description": "Whether the switch is specified on the command l ine." 27 "description": "Whether the switch is specified on the command l ine."
29 } 28 }
30 ] 29 ]
31 } 30 }
32 ] 31 ]
33 } 32 }
34 ] 33 ]
35 } 34 }
36 ] 35 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698