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

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

Issue 1876473002: Add a feature flag for enabling subscription restrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 ee3184d0b4d6c32e6effa46594efcb2fe07005f9..2f0ae4c2008ca23aff42474d813f57b2e8b64a8e 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -270,6 +270,11 @@ void WebRuntimeFeatures::enablePushMessaging(bool enable)
RuntimeEnabledFeatures::setPushMessagingEnabled(enable);
}
+void WebRuntimeFeatures::enablePushSubscriptionRestrictions(bool enable)
+{
+ RuntimeEnabledFeatures::setPushSubscriptionRestrictionsEnabled(enable);
+}
+
void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable)
{
RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable);

Powered by Google App Engine
This is Rietveld 408576698