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

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

Issue 11958025: Start delegating notifications to MessageCenter on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix androif build Created 7 years, 11 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
Index: chrome/browser/notifications/notification.cc
diff --git a/chrome/browser/notifications/notification.cc b/chrome/browser/notifications/notification.cc
index ab548b6b8180eea427b21214772ab8fda6455990..587f2096c8fc80d98e9c9015627a4fa6561172e8 100644
--- a/chrome/browser/notifications/notification.cc
+++ b/chrome/browser/notifications/notification.cc
@@ -43,6 +43,7 @@ Notification::Notification(const GURL& origin_url,
}
Notification::Notification(ui::notifications::NotificationType type,
+ const GURL& origin_url,
const GURL& icon_url,
const string16& title,
const string16& body,
@@ -52,7 +53,7 @@ Notification::Notification(ui::notifications::NotificationType type,
const DictionaryValue* optional_fields,
NotificationDelegate* delegate)
: type_(type),
- origin_url_(GURL()),
+ origin_url_(origin_url),
icon_url_(icon_url),
is_html_(false),
title_(title),

Powered by Google App Engine
This is Rietveld 408576698