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

Unified Diff: chrome/browser/notifications/extension_welcome_notification_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/extension_welcome_notification_unittest.cc
diff --git a/chrome/browser/notifications/extension_welcome_notification_unittest.cc b/chrome/browser/notifications/extension_welcome_notification_unittest.cc
index 43d9d88386db24f1e4895d50b744e35d8cfcb882..a396f5fc4e894703b4f6db8267cc5c39ac2f66c8 100644
--- a/chrome/browser/notifications/extension_welcome_notification_unittest.cc
+++ b/chrome/browser/notifications/extension_welcome_notification_unittest.cc
@@ -221,16 +221,12 @@ class ExtensionWelcomeNotificationTest : public testing::Test {
const message_center::NotifierId& notifier_id) const {
message_center::RichNotificationData rich_notification_data;
rich_notification_data.priority = 0;
- Notification notification(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
- GURL("http://tests.url"),
- base::UTF8ToUTF16("Title"),
- base::UTF8ToUTF16("Body"),
- gfx::Image(),
- notifier_id,
- base::UTF8ToUTF16("Source"),
- notification_id,
- rich_notification_data,
- new TestNotificationDelegate("TestNotification"));
+ Notification notification(
+ message_center::NOTIFICATION_TYPE_BASE_FORMAT,
+ base::UTF8ToUTF16("Title"), base::UTF8ToUTF16("Body"), gfx::Image(),
+ notifier_id, base::UTF8ToUTF16("Source"), GURL("http://tests.url"),
+ notification_id, rich_notification_data,
+ new TestNotificationDelegate("TestNotification"));
welcome_notification_->ShowWelcomeNotificationIfNecessary(notification);
}

Powered by Google App Engine
This is Rietveld 408576698