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

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

Issue 12212031: Add support for redirecting ResourceHandlers to a blob: URL (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Code review fixes Created 7 years, 10 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 // 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 "name": "onExecuteContentHandler", 48 "name": "onExecuteContentHandler",
49 "type": "function", 49 "type": "function",
50 "description": "Fired when a resource is fetched which matches a mime ty pe handled by this extension. The resource request is cancelled, and the extensi on is expected to handle the request. The event is restricted to a small number of white-listed fileBrowserHandlers.", 50 "description": "Fired when a resource is fetched which matches a mime ty pe handled by this extension. The resource request is cancelled, and the extensi on is expected to handle the request. The event is restricted to a small number of white-listed fileBrowserHandlers.",
51 "parameters": [ 51 "parameters": [
52 { 52 {
53 "name": "mime_type", 53 "name": "mime_type",
54 "type": "string", 54 "type": "string",
55 "description": "The MIME type of the intercepted URL request." 55 "description": "The MIME type of the intercepted URL request."
56 }, 56 },
57 { 57 {
58 "name": "original_url",
59 "type": "string",
60 "description": "The original URL that was intercepted."
61 },
62 {
58 "name": "content_url", 63 "name": "content_url",
59 "type": "string", 64 "type": "string",
60 "description": "The intercepted URL request. The handler should fetc h and handle data referenced by the URL." 65 "description": "The intercepted URL request. The handler should fetc h and handle data referenced by the URL."
61 } 66 }
62 ] 67 ]
63 } 68 }
64 ], 69 ],
65 70
66 "functions": [ 71 "functions": [
67 { 72 {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 } 114 }
110 } 115 }
111 } 116 }
112 ] 117 ]
113 } 118 }
114 ] 119 ]
115 } 120 }
116 ] 121 ]
117 } 122 }
118 ] 123 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698