| Index: ui/message_center/message_center.h
|
| diff --git a/ui/message_center/message_center.h b/ui/message_center/message_center.h
|
| index d6ce0c38acbd1d19ed84ec7dab0cf7b56a224de4..038c7b712e622f18f021f78fddb28f8f3084c669 100644
|
| --- a/ui/message_center/message_center.h
|
| +++ b/ui/message_center/message_center.h
|
| @@ -7,10 +7,10 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "ui/message_center/message_center_export.h"
|
| #include "ui/message_center/message_center_types.h"
|
| #include "ui/message_center/notification_list.h"
|
| @@ -100,12 +100,12 @@ class MESSAGE_CENTER_EXPORT MessageCenter {
|
| // Basic operations of notification: add/remove/update.
|
|
|
| // Adds a new notification.
|
| - virtual void AddNotification(scoped_ptr<Notification> notification) = 0;
|
| + virtual void AddNotification(std::unique_ptr<Notification> notification) = 0;
|
|
|
| // Updates an existing notification with id = old_id and set its id to new_id.
|
| virtual void UpdateNotification(
|
| const std::string& old_id,
|
| - scoped_ptr<Notification> new_notification) = 0;
|
| + std::unique_ptr<Notification> new_notification) = 0;
|
|
|
| // Removes an existing notification.
|
| virtual void RemoveNotification(const std::string& id, bool by_user) = 0;
|
|
|