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

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

Issue 10332267: Revert 138055 - gdata: Add requestDirectoryRefresh to file_browser_private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/extensions/extension_function_registry.cc ('k') | no next file » | 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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 "name": "result", 925 "name": "result",
926 "type": "object", 926 "type": "object",
927 "properties": { 927 "properties": {
928 "type": {"type": "string"}, 928 "type": {"type": "string"},
929 "online": {"type": "boolean"} 929 "online": {"type": "boolean"}
930 } 930 }
931 } 931 }
932 ] 932 ]
933 } 933 }
934 ] 934 ]
935 },
936 {
937 "name": "requestDirectoryRefresh",
938 "description": "Requests a refresh of a directory. Used to get the lates t metadata of files in a particular directory. Upon completion, onFileChanged ev ent is raised against the target directory, so that the file browser can redraw contents in the directory. Note that the onFileChanged event can be raised even if there is no change in the directory as it's expensive to check if the new con tents match the existing ones.",
939 "parameters": [
940 {
941 "name": "fileURL",
942 "type": "string",
943 "description": "URL of the target directory"
944 }
945 ]
946 } 935 }
947 ], 936 ],
948 "events": [ 937 "events": [
949 { 938 {
950 "name": "onDiskChanged", 939 "name": "onDiskChanged",
951 "type": "function", 940 "type": "function",
952 "description": "Fired when disk mount/unmount event is detected.", 941 "description": "Fired when disk mount/unmount event is detected.",
953 "parameters": [ 942 "parameters": [
954 { 943 {
955 "$ref": "MountEvent", 944 "$ref": "MountEvent",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 }, 1004 },
1016 { 1005 {
1017 "name": "onNetworkConnectionChanged", 1006 "name": "onNetworkConnectionChanged",
1018 "type": "function", 1007 "type": "function",
1019 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getNetworkConnectionState'.", 1008 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getNetworkConnectionState'.",
1020 "parameters": [] 1009 "parameters": []
1021 } 1010 }
1022 ] 1011 ]
1023 } 1012 }
1024 ] 1013 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_registry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698