Index: chrome/browser/notifications/message_center_notification_manager.h |
diff --git a/chrome/browser/notifications/message_center_notification_manager.h b/chrome/browser/notifications/message_center_notification_manager.h |
index a5a2149c89154d23ec5806f8f9104b5167649cea..64fc7c8e40911031e273dc7caafddf84bfd11eb0 100644 |
--- a/chrome/browser/notifications/message_center_notification_manager.h |
+++ b/chrome/browser/notifications/message_center_notification_manager.h |
@@ -59,9 +59,9 @@ class MessageCenterNotificationManager |
bool CancelById(const std::string& delegate_id, |
ProfileID profile_id) override; |
std::set<std::string> GetAllIdsByProfileAndSourceOrigin( |
- Profile* profile, |
+ ProfileID profile_id, |
const GURL& source) override; |
- std::set<std::string> GetAllIdsByProfile(Profile* profile) override; |
+ std::set<std::string> GetAllIdsByProfile(ProfileID profile_id) override; |
bool CancelAllBySourceOrigin(const GURL& source_origin) override; |
bool CancelAllByProfile(ProfileID profile_id) override; |
void CancelAll() override; |
@@ -96,7 +96,8 @@ class MessageCenterNotificationManager |
private: |
// Adds |profile_notification| to an alternative provider extension or app. |
void AddNotificationToAlternateProvider( |
- ProfileNotification* profile_notification, |
+ const Notification& notification, |
+ Profile* profile, |
const std::string& extension_id) const; |
FRIEND_TEST_ALL_PREFIXES(message_center::WebNotificationTrayTest, |