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

Unified Diff: chrome/browser/notifications/notification.cc

Issue 576823003: Merge two Notification constructors, increase priority of low-battery notification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wrap kNotificationOriginUrl in GURL Created 6 years, 3 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 | « chrome/browser/notifications/notification.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/notification.cc
diff --git a/chrome/browser/notifications/notification.cc b/chrome/browser/notifications/notification.cc
index bb926392b106fee080ee40d0582c31c2069a7394..e2f82b06ea6949c2c40f81be87a26a7d41fded16 100644
--- a/chrome/browser/notifications/notification.cc
+++ b/chrome/browser/notifications/notification.cc
@@ -54,27 +54,6 @@ Notification::Notification(
// to prevent "Downloading" the data url and overwriting the existing |icon|.
}
-Notification::Notification(const GURL& origin_url,
- const gfx::Image& icon,
- const base::string16& title,
- const base::string16& body,
- blink::WebTextDirection dir,
- const base::string16& display_source,
- const base::string16& replace_id,
- NotificationDelegate* delegate)
- : message_center::Notification(message_center::NOTIFICATION_TYPE_SIMPLE,
- delegate->id(),
- title,
- body,
- icon,
- display_source,
- message_center::NotifierId(origin_url),
- message_center::RichNotificationData(),
- delegate),
- origin_url_(origin_url),
- replace_id_(replace_id),
- delegate_(delegate) {}
-
Notification::Notification(const Notification& notification)
: message_center::Notification(notification),
origin_url_(notification.origin_url()),
« no previous file with comments | « chrome/browser/notifications/notification.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698