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

Unified Diff: content/child/runtime_features.cc

Issue 2507463003: Add kill switch for Notification images (Closed)
Patch Set: Rename test subclass 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..44792a9969f326792d3e47ede98e4967fe1cc4ea 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::kNotificationContentImage))
+ WebRuntimeFeatures::enableNotificationContentImage(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.
« no previous file with comments | « content/browser/notifications/notification_message_filter.cc ('k') | content/public/common/content_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698