Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: ui/message_center/notification.cc

Issue 1395093002: Fix system notifications incorrectly marked as type WEB_PAGE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timeout
Patch Set: Fix typo Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/message_center/notification.h ('k') | ui/message_center/popup_timer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notification.cc
diff --git a/ui/message_center/notification.cc b/ui/message_center/notification.cc
index a39f7c75fffa00ee9ec8bbad02cfafacd1e0589c..af35e57c3313e40ca3504832773597d883c7926e 100644
--- a/ui/message_center/notification.cc
+++ b/ui/message_center/notification.cc
@@ -26,7 +26,6 @@ ButtonInfo::ButtonInfo(const base::string16& title)
RichNotificationData::RichNotificationData()
: priority(DEFAULT_PRIORITY),
- is_web_notification(false),
never_timeout(false),
timestamp(base::Time::Now()),
context_message(base::string16()),
@@ -37,7 +36,6 @@ RichNotificationData::RichNotificationData()
RichNotificationData::RichNotificationData(const RichNotificationData& other)
: priority(other.priority),
- is_web_notification(other.is_web_notification),
never_timeout(other.never_timeout),
timestamp(other.timestamp),
context_message(other.context_message),
@@ -141,7 +139,6 @@ void Notification::CopyState(Notification* base) {
is_read_ = base->is_read_;
if (!delegate_.get())
delegate_ = base->delegate();
- optional_fields_.is_web_notification = base->is_web_notification();
optional_fields_.never_timeout = base->never_timeout();
}
« no previous file with comments | « ui/message_center/notification.h ('k') | ui/message_center/popup_timer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698