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

Unified Diff: chrome/browser/local_discovery/privet_notifications.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/local_discovery/privet_notifications.cc
diff --git a/chrome/browser/local_discovery/privet_notifications.cc b/chrome/browser/local_discovery/privet_notifications.cc
index 23945cb4b4c0bb8e17b41bd77a4363faf70c2167..3e1e5c874d83e4f402021784fab54d312b5dd1e4 100644
--- a/chrome/browser/local_discovery/privet_notifications.cc
+++ b/chrome/browser/local_discovery/privet_notifications.cc
@@ -257,17 +257,12 @@ void PrivetNotificationService::PrivetNotify(int devices_active,
IDS_LOCAL_DISCOVERY_NOTIFICATIONS_DISABLE_BUTTON_LABEL)));
Notification notification(
- message_center::NOTIFICATION_TYPE_SIMPLE,
- GURL(kPrivetNotificationOriginUrl),
- title,
- body,
+ message_center::NOTIFICATION_TYPE_SIMPLE, title, body,
ui::ResourceBundle::GetSharedInstance().GetImageNamed(
IDR_LOCAL_DISCOVERY_CLOUDPRINT_ICON),
message_center::NotifierId(GURL(kPrivetNotificationOriginUrl)),
- product_name,
- kPrivetNotificationID,
- rich_notification_data,
- new PrivetNotificationDelegate(profile_));
+ product_name, GURL(kPrivetNotificationOriginUrl), kPrivetNotificationID,
+ rich_notification_data, new PrivetNotificationDelegate(profile_));
bool updated = g_browser_process->notification_ui_manager()->Update(
notification, profile_object);
« no previous file with comments | « chrome/browser/extensions/extension_storage_monitor.cc ('k') | chrome/browser/notifications/extension_welcome_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698