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

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

Issue 9491002: json_schema_compiler: any, additionalProperties, functions on types (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove whitespace Created 8 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 [ 1 [
2 { 2 {
3 "namespace":"fileBrowserPrivate", 3 "namespace":"fileBrowserPrivate",
4 "nodoc": "true", 4 "nodoc": "true",
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "FileBrowserTask", 7 "id": "FileBrowserTask",
8 "type": "object", 8 "type": "object",
9 "description": "Represents information about available browser tasks. A task is an abstraction of an operation that the file browser can perform over a selected file set.", 9 "description": "Represents information about available browser tasks. A task is an abstraction of an operation that the file browser can perform over a selected file set.",
10 "properties": { 10 "properties": {
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 "parameters": [ 354 "parameters": [
355 { 355 {
356 "name": "callback", 356 "name": "callback",
357 "type": "function", 357 "type": "function",
358 "optional": "false", 358 "optional": "false",
359 "parameters": [ 359 "parameters": [
360 { 360 {
361 "name" : "fileSystem", 361 "name" : "fileSystem",
362 "type": "object", 362 "type": "object",
363 "optional": "true", 363 "optional": "true",
364 "description": "A DOMFileSystem instance for local file system a ccess. null if the caller has no appropriate permissions." 364 "description": "A DOMFileSystem instance for local file system a ccess. null if the caller has no appropriate permissions.",
365 "properties": {},
not at google - send to devlin 2012/02/28 22:41:17 FYI: I just submitted a patch that makes this unne
calamity 2012/03/01 04:47:09 Removed.
366 "additionalProperties": {"type": "any"}
365 } 367 }
366 ] 368 ]
367 } 369 }
368 ] 370 ]
369 }, 371 },
370 { 372 {
371 "name": "selectFiles", 373 "name": "selectFiles",
372 "type": "function", 374 "type": "function",
373 "description": "Selects multiple files.", 375 "description": "Selects multiple files.",
374 "parameters": [ 376 "parameters": [
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 { 465 {
464 "name": "mountType", 466 "name": "mountType",
465 "type": "string", 467 "type": "string",
466 "enum": ["device", "file", "network", "gdata"], 468 "enum": ["device", "file", "network", "gdata"],
467 "description": "Mount point type. 'file' for compressed files" 469 "description": "Mount point type. 'file' for compressed files"
468 }, 470 },
469 { 471 {
470 "name": "options", 472 "name": "options",
471 "type": "object", 473 "type": "object",
472 "description": "Name/value pairs for source specific options", 474 "description": "Name/value pairs for source specific options",
473 "optional": "true" 475 "optional": "true",
476 "properties": {},
477 "additionalProperties": {"type": "any"}
474 } 478 }
475 ] 479 ]
476 }, 480 },
477 { 481 {
478 "name": "removeMount", 482 "name": "removeMount",
479 "description": "Unmounts a mounted resource.", 483 "description": "Unmounts a mounted resource.",
480 "parameters": [ 484 "parameters": [
481 { 485 {
482 "name": "mountPath", 486 "name": "mountPath",
483 "type": "string", 487 "type": "string",
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 { 576 {
573 "$ref": "FileWatchEvent", 577 "$ref": "FileWatchEvent",
574 "name": "event", 578 "name": "event",
575 "description": "File watch event information." 579 "description": "File watch event information."
576 } 580 }
577 ] 581 ]
578 } 582 }
579 ] 583 ]
580 } 584 }
581 ] 585 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698