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

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

Issue 2338623004: Add Blink setting to block doc.written scripts on 2g-like networks (Closed)
Patch Set: Nit Created 4 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: 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 1126b602539f38d2982e14c6c50d9f38f66f2507..3267109b7757a32ea53e0f9ec1f245897a6277a8 100644
--- a/third_party/WebKit/Source/core/testing/Internals.h
+++ b/third_party/WebKit/Source/core/testing/Internals.h
@@ -347,6 +347,9 @@ public:
void setNetworkConnectionInfoOverride(bool, const String&, double downlinkMaxMbps, ExceptionState&);
void clearNetworkConnectionInfoOverride();
+ void setEffectiveConnectionTypeOverride(const String&, ExceptionState&);
+ void clearEffectiveConnectionTypeOverride();
+
unsigned countHitRegions(CanvasRenderingContext*);
bool isInCanvasFontCache(Document*, const String&);

Powered by Google App Engine
This is Rietveld 408576698