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

Unified Diff: ui/message_center/views/message_center_view_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
« no previous file with comments | « ui/message_center/views/constants.h ('k') | ui/message_center/views/message_popup_collection_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_center_view_unittest.cc
diff --git a/ui/message_center/views/message_center_view_unittest.cc b/ui/message_center/views/message_center_view_unittest.cc
index 273c01ea3c33040e276956adba94cd07057f0e0f..0953f5315502583053662baae31626d5c8fa4344 100644
--- a/ui/message_center/views/message_center_view_unittest.cc
+++ b/ui/message_center/views/message_center_view_unittest.cc
@@ -129,15 +129,12 @@ MessageCenterViewTest::~MessageCenterViewTest() {
void MessageCenterViewTest::SetUp() {
// Create a dummy notification.
- Notification notification(NOTIFICATION_TYPE_SIMPLE,
- std::string("notification id"),
- base::UTF8ToUTF16("title"),
- base::UTF8ToUTF16("message"),
- gfx::Image(),
- base::UTF8ToUTF16("display source"),
- NotifierId(NotifierId::APPLICATION, "extension_id"),
- message_center::RichNotificationData(),
- NULL);
+ Notification notification(
+ NOTIFICATION_TYPE_SIMPLE, std::string("notification id"),
+ base::UTF8ToUTF16("title"), base::UTF8ToUTF16("message"), gfx::Image(),
+ base::UTF8ToUTF16("display source"), GURL(),
+ NotifierId(NotifierId::APPLICATION, "extension_id"),
+ message_center::RichNotificationData(), NULL);
// ...and a list for it.
NotificationList::Notifications notifications;
« no previous file with comments | « ui/message_center/views/constants.h ('k') | ui/message_center/views/message_popup_collection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698