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

Unified Diff: chrome/browser/notifications/notification_conversion_helper_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: chrome/browser/notifications/notification_conversion_helper_unittest.cc
diff --git a/chrome/browser/notifications/notification_conversion_helper_unittest.cc b/chrome/browser/notifications/notification_conversion_helper_unittest.cc
index acc2d2463353344050cb666eea851e2e4bae3bde..d251b2fc04abb1fb4ed6872c61ae1dad2e50a60c 100644
--- a/chrome/browser/notifications/notification_conversion_helper_unittest.cc
+++ b/chrome/browser/notifications/notification_conversion_helper_unittest.cc
@@ -57,16 +57,11 @@ class NotificationConversionHelperTest : public testing::Test {
gfx::Image icon = gfx::Image::CreateFrom1xBitmap(bitmap);
scoped_ptr<Notification> notification(new Notification(
- type,
- GURL(),
- base::UTF8ToUTF16("Title"),
- base::UTF8ToUTF16("This is a message."),
- icon,
+ type, base::UTF8ToUTF16("Title"),
+ base::UTF8ToUTF16("This is a message."), icon,
message_center::NotifierId(message_center::NotifierId::APPLICATION,
"Notifier 1"),
- base::UTF8ToUTF16("Notifier's Name"),
- "id1",
- optional_fields,
+ base::UTF8ToUTF16("Notifier's Name"), GURL(), "id1", optional_fields,
delegate));
return notification.Pass();

Powered by Google App Engine
This is Rietveld 408576698