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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h

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/InspectorNetworkAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
index eacb8c7eea0b85690328448a1743833a7dbf1939..648166bafe8a633857bf64ece423fad933be27fd 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -142,6 +142,7 @@ public:
void setMonitoringXHREnabled(ErrorString*, bool enabled) override;
void canClearBrowserCache(ErrorString*, bool* result) override;
void canClearBrowserCookies(ErrorString*, bool* result) override;
+ void emulateNetworkConditions(ErrorString*, bool offline, double latency, double downloadThroughput, double uploadThroughput, const Maybe<String>& connectionType) override;
void setCacheDisabled(ErrorString*, bool cacheDisabled) override;
void setBypassServiceWorker(ErrorString*, bool bypass) override;
void setDataSizeLimitsForTest(ErrorString*, int maxTotalSize, int maxResourceSize) override;

Powered by Google App Engine
This is Rietveld 408576698