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

Unified Diff: content/browser/notifications/notification_message_filter.cc

Issue 2395113003: Ship Notification images (Closed)
Patch Set: Re-uploading because UploadBaseFiles timed out 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/virtual/stable/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/notifications/notification_message_filter.cc
diff --git a/content/browser/notifications/notification_message_filter.cc b/content/browser/notifications/notification_message_filter.cc
index bf9fe5635fac4f9dccd4c7b568924fa2d7a226df..56064347d26ab470e7c5aa4d74596e7273e25d19 100644
--- a/content/browser/notifications/notification_message_filter.cc
+++ b/content/browser/notifications/notification_message_filter.cc
@@ -53,12 +53,8 @@ PlatformNotificationData SanitizeNotificationData(
// Returns true when |resources| looks ok, false otherwise.
bool ValidateNotificationResources(const NotificationResources& resources) {
- // TODO(johnme): Remove the command line check once https://crbug.com/614456
- // ships to stable.
if (!resources.image.drawsNothing() &&
- !(base::FeatureList::IsEnabled(features::kNotificationContentImage) &&
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableExperimentalWebPlatformFeatures))) {
+ !base::FeatureList::IsEnabled(features::kNotificationContentImage)) {
return false;
}
if (resources.image.width() > blink::kWebNotificationMaxImageWidthPx ||
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/virtual/stable/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698