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

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

Issue 1308943005: [NetInfo] Add Blink support for connection.change, connection.downlinkMax, and wimax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 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 | « Source/core/page/NetworkStateNotifierTest.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.h
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
index 9f32aa00b9394ba0681ac35e504e191678d26583..9d809e68ea3f5f9ded9259d141f0bbd1da07c800 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -344,9 +344,10 @@ public:
bool ignoreLayoutWithPendingStylesheets(Document*);
+ // Test must call setNetworkStateNotifierTestOnly(true) before calling setNetworkConnectionInfo or
+ // setNetworkStateMaxBandwidth.
void setNetworkStateNotifierTestOnly(bool);
- // Test must call setNetworkStateNotifierTestOnly(true) before calling setNetworkConnectionInfo.
- void setNetworkConnectionInfo(const String&, ExceptionState&);
+ void setNetworkConnectionInfo(const String&, double downlinkMaxMbps, ExceptionState&);
ClientRect* boundsInViewportSpace(Element*);
« no previous file with comments | « Source/core/page/NetworkStateNotifierTest.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698