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

Unified Diff: chrome/browser/local_discovery/privet_notifications.cc

Issue 1395093002: Fix system notifications incorrectly marked as type WEB_PAGE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timeout
Patch Set: Created 5 years, 2 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 9c529a9800acb186c873d7f395bcaa5d69c14abb..ddecc245002ec73e6d409a39fca6ddc066660443 100644
--- a/chrome/browser/local_discovery/privet_notifications.cc
+++ b/chrome/browser/local_discovery/privet_notifications.cc
@@ -261,7 +261,8 @@ void PrivetNotificationService::PrivetNotify(int devices_active,
message_center::NOTIFICATION_TYPE_SIMPLE, title, body,
ui::ResourceBundle::GetSharedInstance().GetImageNamed(
IDR_LOCAL_DISCOVERY_CLOUDPRINT_ICON),
- message_center::NotifierId(GURL(kPrivetNotificationOriginUrl)),
+ message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
+ kPrivetNotificationID),
product_name, GURL(kPrivetNotificationOriginUrl), kPrivetNotificationID,
rich_notification_data, new PrivetNotificationDelegate(profile_));

Powered by Google App Engine
This is Rietveld 408576698