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

Side by Side Diff: Source/devtools/protocol.json

Issue 23658039: [ABANDONED] Get content of resources from Blob when the downloadToFile option is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/core/inspector/NetworkResourcesData.cpp ('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 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 { 278 {
279 "name": "getResourceTree", 279 "name": "getResourceTree",
280 "description": "Returns present frame / resource tree structure. ", 280 "description": "Returns present frame / resource tree structure. ",
281 "returns": [ 281 "returns": [
282 { "name": "frameTree", "$ref": "FrameResourceTree", "descrip tion": "Present frame / resource tree structure." } 282 { "name": "frameTree", "$ref": "FrameResourceTree", "descrip tion": "Present frame / resource tree structure." }
283 ], 283 ],
284 "hidden": true 284 "hidden": true
285 }, 285 },
286 { 286 {
287 "name": "getResourceContent", 287 "name": "getResourceContent",
288 "async": true,
vsevik 2013/09/13 13:02:39 We don't have blob resources (resources are actual
288 "description": "Returns content of the given resource.", 289 "description": "Returns content of the given resource.",
289 "parameters": [ 290 "parameters": [
290 { "name": "frameId", "$ref": "FrameId", "description": "Fram e id to get resource for." }, 291 { "name": "frameId", "$ref": "FrameId", "description": "Fram e id to get resource for." },
291 { "name": "url", "type": "string", "description": "URL of th e resource to get content for." } 292 { "name": "url", "type": "string", "description": "URL of th e resource to get content for." }
292 ], 293 ],
293 "returns": [ 294 "returns": [
294 { "name": "content", "type": "string", "description": "Resou rce content." }, 295 { "name": "content", "type": "string", "description": "Resou rce content." },
295 { "name": "base64Encoded", "type": "boolean", "description": "True, if content was served as base64." } 296 { "name": "base64Encoded", "type": "boolean", "description": "True, if content was served as base64." }
296 ], 297 ],
297 "hidden": true 298 "hidden": true
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 }, 1045 },
1045 { 1046 {
1046 "name": "setExtraHTTPHeaders", 1047 "name": "setExtraHTTPHeaders",
1047 "description": "Specifies whether to always send extra HTTP head ers with the requests from this page.", 1048 "description": "Specifies whether to always send extra HTTP head ers with the requests from this page.",
1048 "parameters": [ 1049 "parameters": [
1049 { "name": "headers", "$ref": "Headers", "description": "Map with extra HTTP headers." } 1050 { "name": "headers", "$ref": "Headers", "description": "Map with extra HTTP headers." }
1050 ] 1051 ]
1051 }, 1052 },
1052 { 1053 {
1053 "name": "getResponseBody", 1054 "name": "getResponseBody",
1055 "async": true,
vsevik 2013/09/13 13:02:39 This is a method in public protocol and clients co
1054 "description": "Returns content served for the given request.", 1056 "description": "Returns content served for the given request.",
1055 "parameters": [ 1057 "parameters": [
1056 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of the network request to get content for." } 1058 { "name": "requestId", "$ref": "RequestId", "description": " Identifier of the network request to get content for." }
1057 ], 1059 ],
1058 "returns": [ 1060 "returns": [
1059 { "name": "body", "type": "string", "description": "Response body." }, 1061 { "name": "body", "type": "string", "description": "Response body." },
1060 { "name": "base64Encoded", "type": "boolean", "description": "True, if content was sent as base64." } 1062 { "name": "base64Encoded", "type": "boolean", "description": "True, if content was sent as base64." }
1061 ] 1063 ]
1062 }, 1064 },
1063 { 1065 {
(...skipping 2903 matching lines...) Expand 10 before | Expand all | Expand 10 after
3967 "parameters": [ 3969 "parameters": [
3968 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 3970 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
3969 ] 3971 ]
3970 }, 3972 },
3971 { 3973 {
3972 "name": "tracingComplete" 3974 "name": "tracingComplete"
3973 } 3975 }
3974 ] 3976 ]
3975 }] 3977 }]
3976 } 3978 }
OLDNEW
« no previous file with comments | « Source/core/inspector/NetworkResourcesData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698