Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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." }, | 1167 { "name": "domains", "type": "array", "items": { "type": "st ring" }, "description": "List of affected domains." }, |
| 1168 { "name": "maximalThroughput", "type": "number", "descriptio n": "Maximal aggregated network throughput." }, | 1168 { "name": "maximalThroughput", "type": "number", "descriptio n": "Deprecated." }, |
|
dgozman
2014/06/16 10:23:52
Why not just drop this one, changing the usages ri
eustas
2014/06/16 13:04:43
Because chromium relies on generated constant...
| |
| 1169 { "name": "offline", "type": "boolean", "description": "True to emulate internet disconnection." } | 1169 { "name": "offline", "type": "boolean", "description": "True to emulate internet disconnection." }, |
| 1170 { "name": "latency", "type": "number", "description": "Addit ional latency (ms)." }, | |
| 1171 { "name": "downloadThroughput", "type": "number", "descripti on": "Maximal aggregated download throughput." }, | |
| 1172 { "name": "uploadThroughput", "type": "number", "description ": "Maximal aggregated upload throughput." } | |
| 1170 ], | 1173 ], |
| 1171 "hidden": true, | 1174 "hidden": true, |
| 1172 "handlers": ["browser"] | 1175 "handlers": ["browser"] |
| 1173 }, | 1176 }, |
| 1174 { | 1177 { |
| 1175 "name": "setCacheDisabled", | 1178 "name": "setCacheDisabled", |
| 1176 "parameters": [ | 1179 "parameters": [ |
| 1177 { "name": "cacheDisabled", "type": "boolean", "description": "Cache disabled state." } | 1180 { "name": "cacheDisabled", "type": "boolean", "description": "Cache disabled state." } |
| 1178 ], | 1181 ], |
| 1179 "description": "Toggles ignoring cache for each request. If <cod e>true</code>, cache will not be used." | 1182 "description": "Toggles ignoring cache for each request. If <cod e>true</code>, cache will not be used." |
| (...skipping 3009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4189 { | 4192 { |
| 4190 "name": "dataAvailable", | 4193 "name": "dataAvailable", |
| 4191 "parameters": [ | 4194 "parameters": [ |
| 4192 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } | 4195 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } |
| 4193 ], | 4196 ], |
| 4194 "handlers": ["browser", "frontend"] | 4197 "handlers": ["browser", "frontend"] |
| 4195 } | 4198 } |
| 4196 ] | 4199 ] |
| 4197 }] | 4200 }] |
| 4198 } | 4201 } |
| OLD | NEW |