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

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

Issue 14494013: Allow API functions and events to have entries in _api_features.json (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser_tests, Stubs now inspects _api_features.json Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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": "test", 7 "namespace": "test",
8 "nodoc": true, 8 "nodoc": true,
9 "types": [], 9 "types": [],
10 "check_unprivileged": true,
10 "functions": [ 11 "functions": [
11 { 12 {
12 "name": "getConfig", 13 "name": "getConfig",
13 "type": "function", 14 "type": "function",
14 "description": "Gives configuration options set by the test.", 15 "description": "Gives configuration options set by the test.",
15 "parameters": [ 16 "parameters": [
16 { 17 {
17 "type": "function", "name": "callback", "parameters": [ 18 "type": "function", "name": "callback", "parameters": [
18 { 19 {
19 "type": "object", 20 "type": "object",
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 "nocompile": true, 286 "nocompile": true,
286 "parameters": [ 287 "parameters": [
287 { 288 {
288 "type": "array", 289 "type": "array",
289 "name": "tests", 290 "name": "tests",
290 "items": {"type": "function"} 291 "items": {"type": "function"}
291 } 292 }
292 ] 293 ]
293 }, 294 },
294 { 295 {
296 "name": "getApiFeatures",
297 "type": "function",
298 "unprivileged": true,
299 "nocompile": true,
300 "parameters": []
301 },
302 {
295 "name": "getApiDefinitions", 303 "name": "getApiDefinitions",
296 "type": "function", 304 "type": "function",
297 "nocompile": true, 305 "nocompile": true,
298 "parameters": [ 306 "parameters": [
299 { 307 {
300 "type": "array", 308 "type": "array",
301 "name": "apiNames", 309 "name": "apiNames",
302 "optional": true, 310 "optional": true,
303 "items": {"type": "string"} 311 "items": {"type": "string"}
304 } 312 }
(...skipping 13 matching lines...) Expand all
318 "properties": { 326 "properties": {
319 "data": { "type": "string", "description": "Additional information ." }, 327 "data": { "type": "string", "description": "Additional information ." },
320 "lastMessage": { "type": "boolean", "description": "True if this w as the last message for this test" } 328 "lastMessage": { "type": "boolean", "description": "True if this w as the last message for this test" }
321 } 329 }
322 } 330 }
323 ] 331 ]
324 } 332 }
325 ] 333 ]
326 } 334 }
327 ] 335 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698