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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.h

Issue 2087293003: [DevTools] Network.emulateNetworkConditions now affects NetworkStateNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheck 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/testing/Internals.h
diff --git a/third_party/WebKit/Source/core/testing/Internals.h b/third_party/WebKit/Source/core/testing/Internals.h
index 3c1d336ce2ae11798ccdf3d842ebf514d9fd5b61..dd066eb433effe355dd39647f2f42fda37eb9e51 100644
--- a/third_party/WebKit/Source/core/testing/Internals.h
+++ b/third_party/WebKit/Source/core/testing/Internals.h
@@ -343,10 +343,8 @@ public:
bool ignoreLayoutWithPendingStylesheets(Document*);
- // Test must call setNetworkStateNotifierTestOnly(true) before calling setNetworkConnectionInfo or
- // setNetworkStateMaxBandwidth.
- void setNetworkStateNotifierTestOnly(bool);
- void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, ExceptionState&);
+ void setNetworkConnectionInfoOverride(bool, const String&, double downlinkMaxMbps, ExceptionState&);
+ void clearNetworkConnectionInfoOverride();
unsigned countHitRegions(CanvasRenderingContext*);
« no previous file with comments | « third_party/WebKit/Source/core/page/NetworkStateNotifierTest.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698