| Index: chrome/browser/notifications/notification_ui_manager_mac.h
|
| diff --git a/chrome/browser/notifications/notification_ui_manager_mac.h b/chrome/browser/notifications/notification_ui_manager_mac.h
|
| index 10184608a8660a32f866b7fd51c11b4f954acf74..e6c8e300d9d2a34940621311ad2baa5034a23dcc 100644
|
| --- a/chrome/browser/notifications/notification_ui_manager_mac.h
|
| +++ b/chrome/browser/notifications/notification_ui_manager_mac.h
|
| @@ -37,6 +37,7 @@ class NotificationUIManagerMac : public NotificationUIManager {
|
| Profile* profile) OVERRIDE;
|
| virtual bool CancelById(const std::string& notification_id) OVERRIDE;
|
| virtual bool CancelAllBySourceOrigin(const GURL& source_origin) OVERRIDE;
|
| + virtual bool CancelAllByProfile(Profile* profile) OVERRIDE;
|
| virtual void CancelAll() OVERRIDE;
|
| virtual BalloonCollection* balloon_collection() OVERRIDE;
|
| virtual NotificationPrefsManager* prefs_manager() OVERRIDE;
|
| @@ -57,12 +58,14 @@ class NotificationUIManagerMac : public NotificationUIManager {
|
| // (model) notification. This assumes ownership (i.e. does not retain a_view)
|
| // of both objects and will delete them on destruction.
|
| struct ControllerNotification {
|
| - ControllerNotification(id<CrUserNotification> a_view,
|
| + ControllerNotification(Profile* a_profile,
|
| + id<CrUserNotification> a_view,
|
| Notification* a_model);
|
| ~ControllerNotification();
|
|
|
| id<CrUserNotification> view;
|
| Notification* model;
|
| + Profile* profile;
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(ControllerNotification);
|
|
|