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

Unified Diff: Source/devtools/protocol.json

Issue 456363002: DevTools: protocol: add "canEmulateNetworkConditions" method definition. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 61c1c175df47c81ef3517cd88cf02ef52090d35c..2e56e9cb5bfe76e2bf69a173c456ba392d39096e 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -1209,6 +1209,15 @@
"handlers": ["browser"]
},
{
+ "name": "canEmulateNetworkConditions",
+ "description": "Tells whether emulation of network conditions is supported.",
+ "returns": [
+ { "name": "result", "type": "boolean", "description": "True if emulation of network conditions is supported." }
+ ],
+ "hidden": true,
+ "handlers": ["browser"]
+ },
+ {
"name": "emulateNetworkConditions",
"description": "Activates emulation of network conditions.",
"parameters": [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698