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

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

Issue 2003253002: [Devtools] Allow User-Agent header override for Websockets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 { 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 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 { "name": "maxResourceBufferSize", "type": "integer", "optio nal": true, "hidden": true, "description": "Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc)." } 1443 { "name": "maxResourceBufferSize", "type": "integer", "optio nal": true, "hidden": true, "description": "Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc)." }
1444 ] 1444 ]
1445 }, 1445 },
1446 { 1446 {
1447 "name": "disable", 1447 "name": "disable",
1448 "description": "Disables network tracking, prevents network even ts from being sent to the client." 1448 "description": "Disables network tracking, prevents network even ts from being sent to the client."
1449 }, 1449 },
1450 { 1450 {
1451 "name": "setUserAgentOverride", 1451 "name": "setUserAgentOverride",
1452 "description": "Allows overriding user agent with the given stri ng.", 1452 "description": "Allows overriding user agent with the given stri ng.",
1453 "handlers": ["browser", "renderer"],
1453 "parameters": [ 1454 "parameters": [
1454 { "name": "userAgent", "type": "string", "description": "Use r agent to use." } 1455 { "name": "userAgent", "type": "string", "description": "Use r agent to use." }
1455 ] 1456 ]
1456 }, 1457 },
1457 { 1458 {
1458 "name": "setExtraHTTPHeaders", 1459 "name": "setExtraHTTPHeaders",
1459 "description": "Specifies whether to always send extra HTTP head ers with the requests from this page.", 1460 "description": "Specifies whether to always send extra HTTP head ers with the requests from this page.",
1460 "parameters": [ 1461 "parameters": [
1461 { "name": "headers", "$ref": "Headers", "description": "Map with extra HTTP headers." } 1462 { "name": "headers", "$ref": "Headers", "description": "Map with extra HTTP headers." }
1462 ] 1463 ]
(...skipping 3695 matching lines...) Expand 10 before | Expand all | Expand 10 after
5158 "parameters": [ 5159 "parameters": [
5159 { "name": "origin", "type": "string", "description": "Securi ty origin." }, 5160 { "name": "origin", "type": "string", "description": "Securi ty origin." },
5160 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." } 5161 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." }
5161 ], 5162 ],
5162 "description": "Clears storage for origin.", 5163 "description": "Clears storage for origin.",
5163 "handlers": ["browser"] 5164 "handlers": ["browser"]
5164 } 5165 }
5165 ] 5166 ]
5166 }] 5167 }]
5167 } 5168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698