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

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: Add units 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
Index: Source/core/testing/Internals.h
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
index 476062e07479331ec428d018a98ed9b35adcab6e..1f6b8de59337531eed2ae92ba4892d78ae847b36 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -339,9 +339,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*);

Powered by Google App Engine
This is Rietveld 408576698