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

Unified Diff: chrome/browser/download/notification/download_group_notification.cc

Issue 1292003004: Elide origins displayed on web notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the use_origin flag in Notification do everything in NotificationView Created 5 years, 4 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/download/notification/download_group_notification.cc
diff --git a/chrome/browser/download/notification/download_group_notification.cc b/chrome/browser/download/notification/download_group_notification.cc
index fef4c6c856c8979e01b526709874a172d0d73915..4dfe1053ab22eb3a761b7d3cc9b9b2746a58d9d1 100644
--- a/chrome/browser/download/notification/download_group_notification.cc
+++ b/chrome/browser/download/notification/download_group_notification.cc
@@ -103,14 +103,14 @@ DownloadGroupNotification::DownloadGroupNotification(
// by UpdateNotificationData() below.
notification_.reset(new Notification(
message_center::NOTIFICATION_TYPE_MULTIPLE,
- GURL(kDownloadNotificationOrigin), // origin_url
- base::string16(), // title
- base::string16(), // body
+ base::string16(), // title
+ base::string16(), // body
bundle.GetImageNamed(IDR_DOWNLOAD_NOTIFICATION_DOWNLOADING),
message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
kDownloadNotificationNotifierId),
- base::string16(), // display_source
- "GROUP", // tag
+ base::string16(), // display_source
+ GURL(kDownloadNotificationOrigin), // origin_url
+ "GROUP", // tag
data, watcher()));
notification_->SetSystemPriority();

Powered by Google App Engine
This is Rietveld 408576698