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

Unified Diff: ui/message_center/views/message_popup_collection_unittest.cc

Issue 15582004: Move NotificationDelegate into message_center. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Win browsertests. Created 7 years, 7 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: ui/message_center/views/message_popup_collection_unittest.cc
diff --git a/ui/message_center/views/message_popup_collection_unittest.cc b/ui/message_center/views/message_popup_collection_unittest.cc
index ea6d1be0e1a3942b0de7479ed4aa0b7dbb0078b8..a032aaf0f656b1231500527d82e93d85b91d52ce 100644
--- a/ui/message_center/views/message_popup_collection_unittest.cc
+++ b/ui/message_center/views/message_popup_collection_unittest.cc
@@ -68,10 +68,14 @@ class MessagePopupCollectionTest : public views::ViewsTestBase {
std::string AddNotification() {
std::string id = base::IntToString(id_++);
- MessageCenter::Get()->AddNotification(
- NOTIFICATION_TYPE_BASE_FORMAT, id, UTF8ToUTF16("test title"),
- UTF8ToUTF16("test message"), string16() /* display_source */,
- "" /* extension_id */, NULL);
+ MessageCenter::Get()->AddNotification(NOTIFICATION_TYPE_BASE_FORMAT,
+ id,
+ UTF8ToUTF16("test title"),
+ UTF8ToUTF16("test message"),
+ string16() /* display_source */,
+ "" /* extension_id */,
+ NULL /* optional_fields */,
+ NULL /* delegate */);
return id;
}
« ui/message_center/notification.cc ('K') | « ui/message_center/views/message_center_view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698