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

Unified Diff: third_party/WebKit/public/web/WebRuntimeFeatures.h

Issue 2279543004: [DocWriteBlocking] Add feature to block doc.written scripts if 2g-like network (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added helper method: isConnectionEffectively2G 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/public/web/WebRuntimeFeatures.h
diff --git a/third_party/WebKit/public/web/WebRuntimeFeatures.h b/third_party/WebKit/public/web/WebRuntimeFeatures.h
index 51b94fa59bfe41886fffffa06fed7e7306f0ccd7..dcd326571ae07ba4c473aabb3b7a97775cc7c79f 100644
--- a/third_party/WebKit/public/web/WebRuntimeFeatures.h
+++ b/third_party/WebKit/public/web/WebRuntimeFeatures.h
@@ -69,6 +69,7 @@ public:
BLINK_EXPORT static void enableAccelerated2dCanvas(bool);
BLINK_EXPORT static void enableAudioOutputDevices(bool);
+ BLINK_EXPORT static void enableBlockDocWriteIfEffectively2G(bool);
BLINK_EXPORT static void enableCanvas2dImageChromium(bool);
BLINK_EXPORT static void enableColorCorrectRendering(bool);
BLINK_EXPORT static void enableCredentialManagerAPI(bool);

Powered by Google App Engine
This is Rietveld 408576698