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

Unified Diff: chrome/browser/download/notification/download_item_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_item_notification.cc
diff --git a/chrome/browser/download/notification/download_item_notification.cc b/chrome/browser/download/notification/download_item_notification.cc
index 3d6b16d7882d10671e04808dc7bdcb124dd22477..8b529c99a21512c8e956dc565ee4ca4179b36e8a 100644
--- a/chrome/browser/download/notification/download_item_notification.cc
+++ b/chrome/browser/download/notification/download_item_notification.cc
@@ -119,13 +119,13 @@ DownloadItemNotification::DownloadItemNotification(
// by UpdateNotificationData() below.
notification_.reset(new Notification(
message_center::NOTIFICATION_TYPE_PROGRESS,
- 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
+ GURL(kDownloadNotificationOrigin), // origin_url
base::UintToString(item_->GetId()), // tag
data, watcher()));
@@ -675,4 +675,3 @@ bool DownloadItemNotification::IsNotificationVisible() const {
}
return false;
}
-

Powered by Google App Engine
This is Rietveld 408576698