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

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

Issue 342433002: DevTools: cleanup Network.emulateNetworkConditions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 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
« no previous file with comments | « Source/devtools/front_end/sdk/OverridesSupport.js ('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 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 }, 1157 },
1158 { 1158 {
1159 "name": "clearBrowserCookies", 1159 "name": "clearBrowserCookies",
1160 "description": "Clears browser cookies.", 1160 "description": "Clears browser cookies.",
1161 "handlers": ["browser"] 1161 "handlers": ["browser"]
1162 }, 1162 },
1163 { 1163 {
1164 "name": "emulateNetworkConditions", 1164 "name": "emulateNetworkConditions",
1165 "description": "Activates emulation of network conditions.", 1165 "description": "Activates emulation of network conditions.",
1166 "parameters": [ 1166 "parameters": [
1167 { "name": "domains", "type": "array", "items": { "type": "st ring" }, "description": "List of affected domains." },
1168 { "name": "maximalThroughput", "type": "number", "descriptio n": "Deprecated." },
1169 { "name": "offline", "type": "boolean", "description": "True to emulate internet disconnection." }, 1167 { "name": "offline", "type": "boolean", "description": "True to emulate internet disconnection." },
1170 { "name": "latency", "type": "number", "description": "Addit ional latency (ms)." }, 1168 { "name": "latency", "type": "number", "description": "Addit ional latency (ms)." },
1171 { "name": "downloadThroughput", "type": "number", "descripti on": "Maximal aggregated download throughput." }, 1169 { "name": "downloadThroughput", "type": "number", "descripti on": "Maximal aggregated download throughput." },
1172 { "name": "uploadThroughput", "type": "number", "description ": "Maximal aggregated upload throughput." } 1170 { "name": "uploadThroughput", "type": "number", "description ": "Maximal aggregated upload throughput." }
1173 ], 1171 ],
1174 "hidden": true, 1172 "hidden": true,
1175 "handlers": ["browser"] 1173 "handlers": ["browser"]
1176 }, 1174 },
1177 { 1175 {
1178 "name": "setCacheDisabled", 1176 "name": "setCacheDisabled",
(...skipping 3016 matching lines...) Expand 10 before | Expand all | Expand 10 after
4195 { 4193 {
4196 "name": "dataAvailable", 4194 "name": "dataAvailable",
4197 "parameters": [ 4195 "parameters": [
4198 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4196 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4199 ], 4197 ],
4200 "handlers": ["browser", "frontend"] 4198 "handlers": ["browser", "frontend"]
4201 } 4199 }
4202 ] 4200 ]
4203 }] 4201 }]
4204 } 4202 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/OverridesSupport.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698