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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2431003003: Introduce ServiceWorkerNavigationPreload feature name (Closed)
Patch Set: alphabetical order Created 4 years, 2 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/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 9b4650349178a3e134a1e13a0573a48947f0af7f..1d6ec036fa4de44f4540a84274c6e69c2d8abfb0 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -332,6 +332,10 @@ void WebRuntimeFeatures::enableScrollAnchoring(bool enable) {
RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable);
}
+void WebRuntimeFeatures::enableServiceWorkerNavigationPreload(bool enable) {
+ RuntimeEnabledFeatures::setServiceWorkerNavigationPreloadEnabled(enable);
+}
+
void WebRuntimeFeatures::enableAutoplayMutedVideos(bool enable) {
RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable);
}
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698