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

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: Style nit 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 020af24680cfd53038f265cccaabafe23f15948a..63f14d46bc4053d13dd7628520ab37e9ba7ccf7e 100644
--- a/chrome/browser/download/notification/download_group_notification.cc
+++ b/chrome/browser/download/notification/download_group_notification.cc
@@ -48,14 +48,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