| Index: ui/message_center/notification.h
|
| diff --git a/ui/message_center/notification.h b/ui/message_center/notification.h
|
| index 41dfa2149443ca5c0d012a1c722a4335f0585dfd..f4dce7b2672514bbc7343ec37669c3f9b214245b 100644
|
| --- a/ui/message_center/notification.h
|
| +++ b/ui/message_center/notification.h
|
| @@ -41,7 +41,6 @@ class MESSAGE_CENTER_EXPORT RichNotificationData {
|
| ~RichNotificationData();
|
|
|
| int priority;
|
| - bool is_web_notification;
|
| bool never_timeout;
|
| base::Time timestamp;
|
| base::string16 context_message;
|
| @@ -76,7 +75,7 @@ class MESSAGE_CENTER_EXPORT Notification {
|
| virtual ~Notification();
|
|
|
| // Copies the internal on-memory state from |base|, i.e. shown_as_popup,
|
| - // is_read, is_web_notification and never_timeout.
|
| + // is_read and never_timeout.
|
| void CopyState(Notification* base);
|
|
|
| NotificationType type() const { return type_; }
|
| @@ -194,14 +193,6 @@ class MESSAGE_CENTER_EXPORT Notification {
|
| // The notification with lesser serial_number is considered 'older'.
|
| unsigned serial_number() { return serial_number_; }
|
|
|
| - // Gets and sets whether this was shown using the Web Notifications API.
|
| - bool is_web_notification() const {
|
| - return optional_fields_.is_web_notification;
|
| - }
|
| - void set_is_web_notification(bool is_web_notification) {
|
| - optional_fields_.is_web_notification = is_web_notification;
|
| - }
|
| -
|
| // Gets and sets whether the notifiction should remain onscreen permanently.
|
| bool never_timeout() const { return optional_fields_.never_timeout; }
|
| void set_never_timeout(bool never_timeout) {
|
|
|