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

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

Issue 11309014: File manager: support for zipping selected files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compiler warning: declare base::FileDescriptor a struct, not a class. The struct is put after t… Created 8 years, 1 month 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
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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":"fileBrowserPrivate", 7 "namespace":"fileBrowserPrivate",
8 "nodoc": "true", 8 "nodoc": "true",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 "name": "clearDriveCache", 1022 "name": "clearDriveCache",
1023 "description": "Clear all GData local caches.", 1023 "description": "Clear all GData local caches.",
1024 "parameters": [] 1024 "parameters": []
1025 }, 1025 },
1026 { 1026 {
1027 "name": "reloadDrive", 1027 "name": "reloadDrive",
1028 "description": "Reload the filesystem metadata from the server immediate ly.", 1028 "description": "Reload the filesystem metadata from the server immediate ly.",
1029 "parameters": [] 1029 "parameters": []
1030 }, 1030 },
1031 { 1031 {
1032 "name": "zipSelection",
1033 "description": "Create a zip file for the selected files.",
1034 "parameters": [
1035 {
1036 "name": "dirURL",
1037 "type": "string",
1038 "description": "URL of the directory containing the selected files."
1039 },
1040 {
1041 "name": "selectionURLs",
1042 "type": "array",
1043 "description": "URLs of the selected files. The files must be under the directory specified by dirURL.",
1044 "items": { "type": "string" }
1045 },
1046 {
1047 "name": "destName",
1048 "type": "string",
1049 "description": "Name of the destination zip file. The zip file will be created under the directory specified by dirURL."
1050 },
1051 {
1052 "name": "callback",
1053 "type": "function",
1054 "optional": true,
1055 "parameters": [
1056 {
1057 "name" : "success",
1058 "type" : "boolean",
1059 "optional": true
1060 }
1061 ]
1062 }
1063 ]
1064 },
1065 {
1032 "name": "getNetworkConnectionState", 1066 "name": "getNetworkConnectionState",
1033 "description": "Retrieves the state of the currently active network conn ection.", 1067 "description": "Retrieves the state of the currently active network conn ection.",
1034 "parameters": [ 1068 "parameters": [
1035 { 1069 {
1036 "name": "callback", 1070 "name": "callback",
1037 "type": "function", 1071 "type": "function",
1038 "parameters": [ 1072 "parameters": [
1039 { 1073 {
1040 "name": "result", 1074 "name": "result",
1041 "type": "object", 1075 "type": "object",
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 }, 1164 },
1131 { 1165 {
1132 "name": "onNetworkConnectionChanged", 1166 "name": "onNetworkConnectionChanged",
1133 "type": "function", 1167 "type": "function",
1134 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getNetworkConnectionState'.", 1168 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getNetworkConnectionState'.",
1135 "parameters": [] 1169 "parameters": []
1136 } 1170 }
1137 ] 1171 ]
1138 } 1172 }
1139 ] 1173 ]
OLDNEW
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698