| Index: chrome/browser/chromeos/notifications/system_notification.h
|
| diff --git a/chrome/browser/chromeos/notifications/system_notification.h b/chrome/browser/chromeos/notifications/system_notification.h
|
| index 81976b77137df78aae7b02f2181a070df28d28d3..5573f2bfb4d8e1307adb5001b1c3e096f376c688 100644
|
| --- a/chrome/browser/chromeos/notifications/system_notification.h
|
| +++ b/chrome/browser/chromeos/notifications/system_notification.h
|
| @@ -27,7 +27,14 @@ class SystemNotification {
|
| // The profile is the current user profile. The id is any string used
|
| // to uniquely identify this notification. The title is the title of
|
| // the message to be displayed. On creation, the message is hidden.
|
| - SystemNotification(Profile* profile, const std::string& id,
|
| + SystemNotification(Profile* profile,
|
| + const std::string& id,
|
| + int icon_resource_id,
|
| + const string16& title);
|
| +
|
| + // Allows to provide custom NotificationDelegate.
|
| + SystemNotification(Profile* profile,
|
| + NotificationDelegate* delegate,
|
| int icon_resource_id,
|
| const string16& title);
|
|
|
| @@ -71,9 +78,11 @@ class SystemNotification {
|
| DISALLOW_COPY_AND_ASSIGN(Delegate);
|
| };
|
|
|
| + void Init(int icon_resource_id);
|
| +
|
| Profile* profile_;
|
| BalloonCollectionImpl* collection_;
|
| - scoped_refptr<Delegate> delegate_;
|
| + scoped_refptr<NotificationDelegate> delegate_;
|
| GURL icon_;
|
| string16 title_;
|
| bool visible_;
|
|
|