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

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: Rename Created 4 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: 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 f2207b30efef4fb93f4925d67e120584bbee93de..3050682ba02e94947381c6d79997334732656eb7 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