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

Unified Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2087293003: [DevTools] Network.emulateNetworkConditions now affects NetworkStateNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comments 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/browser_protocol.json
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json
index 3b72f45175224548fedb1c32c7e68d0ab097b7ca..f2e4365c0cf0a7771b98a07432a3dcf8851afbd2 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -927,6 +927,12 @@
"description": "Request / response headers as keys / values of JSON object."
},
{
+ "id": "ConnectionType",
+ "type": "string",
+ "enum": ["none", "cellular2g", "cellular3g", "cellular4g", "bluetooth", "ethernet", "wifi", "wimax", "other"],
+ "description": "Loading priority of a resource request."
+ },
+ {
"id": "ResourceTiming",
"type": "object",
"description": "Timing information for the request.",
@@ -1252,10 +1258,11 @@
{ "name": "offline", "type": "boolean", "description": "True to emulate internet disconnection." },
{ "name": "latency", "type": "number", "description": "Additional latency (ms)." },
{ "name": "downloadThroughput", "type": "number", "description": "Maximal aggregated download throughput." },
- { "name": "uploadThroughput", "type": "number", "description": "Maximal aggregated upload throughput." }
+ { "name": "uploadThroughput", "type": "number", "description": "Maximal aggregated upload throughput." },
+ { "name": "connectionType", "$ref": "ConnectionType", "optional": true, "description": "Connection type if known."}
],
"hidden": true,
- "handlers": ["browser"]
+ "handlers": ["browser", "renderer"]
},
{
"name": "setCacheDisabled",

Powered by Google App Engine
This is Rietveld 408576698