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

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

Issue 10828042: Extensions Docs Server: Integration testing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for CQ Created 8 years, 4 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":"fileBrowserHandler", 7 "namespace":"fileBrowserHandler",
8 "platforms": ["chromeos"], 8 "platforms": ["chromeos"],
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 "parameters": [ 54 "parameters": [
55 { 55 {
56 "name": "selectionParams", 56 "name": "selectionParams",
57 "type": "object", 57 "type": "object",
58 "description": "Parameters that will be used while selecting the fil e.", 58 "description": "Parameters that will be used while selecting the fil e.",
59 "properties": { 59 "properties": {
60 "suggestedName": { 60 "suggestedName": {
61 "type": "string", 61 "type": "string",
62 "description": "Suggested name for the file." 62 "description": "Suggested name for the file."
63 } 63 }
64 } 64 }
65 }, 65 },
66 { 66 {
67 "name": "callback", 67 "name": "callback",
68 "type": "function", 68 "type": "function",
69 "description": "Function called upon completion.", 69 "description": "Function called upon completion.",
70 "parameters": [ 70 "parameters": [
71 { 71 {
72 "name": "result", 72 "name": "result",
73 "description": "Result of the method.", 73 "description": "Result of the method.",
74 "type": "object", 74 "type": "object",
75 "properties": { 75 "properties": {
76 "success": { 76 "success": {
77 "type": "boolean", 77 "type": "boolean",
78 "description": "Whether the file has been selected." 78 "description": "Whether the file has been selected."
79 }, 79 },
80 "entry": { 80 "entry": {
81 "type": "object", 81 "type": "object",
82 "constructor": "Entry", 82 "constructor": "Entry",
83 "additionalProperties": { "type": "any" },
83 "optional": true, 84 "optional": true,
84 "description": "Selected file entry. It will be null if a fi le hasn't been selected." 85 "description": "Selected file entry. It will be null if a fi le hasn't been selected."
85 } 86 }
86 } 87 }
87 } 88 }
88 ] 89 ]
89 } 90 }
90 ] 91 ]
91 } 92 }
92 ] 93 ]
93 } 94 }
94 ] 95 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698