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

Unified Diff: content/child/runtime_features.cc

Issue 2507463003: Add kill switch for Notification images (Closed)
Patch Set: Created 4 years, 1 month 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: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 66d6781495a439ab1627ee7393008df9a4c96865..3aeae44ade95068df75237ef920834435fded0c8 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -89,6 +89,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::enablePushMessaging(false);
}
+ if (!base::FeatureList::IsEnabled(features::kNotificationImage))
+ WebRuntimeFeatures::enableNotificationImage(false);
+
// For the time being, enable wasm serialization when wasm is enabled,
// since the whole wasm space is experimental. We have the flexibility
// to decouple the two.

Powered by Google App Engine
This is Rietveld 408576698