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

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: Move origin_url to message_center::Notification 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 321a20c76b77da4c4c79662ef7be02464b4d9bfe..c8f86bb95c678b48d32a480263fe1b29e35f8f15 100644
--- a/chrome/browser/download/notification/download_group_notification.cc
+++ b/chrome/browser/download/notification/download_group_notification.cc
@@ -101,14 +101,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