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

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: Update test expectations Created 5 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
Index: Source/core/testing/Internals.h
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
index f90376825d2bfd0dd279c1a1b4c11416311a4b0b..9095fe159aa38a22fffedf0d68ef4bd43aeda76b 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -337,9 +337,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 downlinkMax, ExceptionState&);
ClientRect* boundsInViewportSpace(Element*);

Powered by Google App Engine
This is Rietveld 408576698