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

Unified Diff: chrome/browser/notifications/desktop_notification_service.cc

Issue 14631005: Enable users of NotificationUIManager to specify binary images. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase for relanding. Created 7 years, 6 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: chrome/browser/notifications/desktop_notification_service.cc
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
index d3bf8ab7976e9f7dd1c716a9b8f18416a29fc10b..3479ade07c2200abe30b8f53bdafe17246013acf 100644
--- a/chrome/browser/notifications/desktop_notification_service.cc
+++ b/chrome/browser/notifications/desktop_notification_service.cc
@@ -512,7 +512,7 @@ bool DesktopNotificationService::ShowDesktopNotification(
params.body, params.direction, display_source, params.replace_id,
proxy);
// The webkit notification doesn't timeout.
- notification.DisableTimeout();
+ notification.set_never_timeout(true);
ShowNotification(notification);
}
return true;

Powered by Google App Engine
This is Rietveld 408576698