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

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

Issue 1292003004: Elide origins displayed on web notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style nit Created 5 years, 4 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 74934dd59a4111ce06918e9c3345d15df8416850..3c67e3cc0a1dad02b7f18faffb5f79a0dbd83832 100644
--- a/ui/message_center/views/message_popup_collection_unittest.cc
+++ b/ui/message_center/views/message_popup_collection_unittest.cc
@@ -94,16 +94,11 @@ class MessagePopupCollectionTest : public views::ViewsTestBase {
std::string AddNotification() {
std::string id = base::IntToString(id_++);
- scoped_ptr<Notification> notification(
- new Notification(NOTIFICATION_TYPE_BASE_FORMAT,
- id,
- base::UTF8ToUTF16("test title"),
- base::UTF8ToUTF16("test message"),
- gfx::Image(),
- base::string16() /* display_source */,
- NotifierId(),
- message_center::RichNotificationData(),
- NULL /* delegate */));
+ scoped_ptr<Notification> notification(new Notification(
+ NOTIFICATION_TYPE_BASE_FORMAT, id, base::UTF8ToUTF16("test title"),
+ base::UTF8ToUTF16("test message"), gfx::Image(),
+ base::string16() /* display_source */, GURL(), NotifierId(),
+ message_center::RichNotificationData(), NULL /* delegate */));
MessageCenter::Get()->AddNotification(notification.Pass());
return id;
}
« no previous file with comments | « ui/message_center/views/message_center_view_unittest.cc ('k') | ui/message_center/views/notification_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698