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

Unified Diff: chrome/browser/notifications/message_center_notifications_browsertest.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/message_center_notifications_browsertest.cc
diff --git a/chrome/browser/notifications/message_center_notifications_browsertest.cc b/chrome/browser/notifications/message_center_notifications_browsertest.cc
index f77879434c9a72fa39a11725ef8a92eb97c0e547..e06564bd0e01cd74f5dfba272bd2e43da75c79b3 100644
--- a/chrome/browser/notifications/message_center_notifications_browsertest.cc
+++ b/chrome/browser/notifications/message_center_notifications_browsertest.cc
@@ -121,18 +121,14 @@ class MessageCenterNotificationsTest : public InProcessBrowserTest {
message_center::RichNotificationData data;
- return Notification(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
- GURL("chrome-test://testing/"),
- base::ASCIIToUTF16("title"),
- base::ASCIIToUTF16("message"),
- gfx::Image(),
- message_center::NotifierId(
- message_center::NotifierId::APPLICATION,
- "extension_id"),
- base::UTF8ToUTF16("chrome-test://testing/"),
- "REPLACE-ME",
- data,
- new_delegate);
+ return Notification(
+ message_center::NOTIFICATION_TYPE_BASE_FORMAT,
+ base::ASCIIToUTF16("title"), base::ASCIIToUTF16("message"),
+ gfx::Image(),
+ message_center::NotifierId(message_center::NotifierId::APPLICATION,
+ "extension_id"),
+ base::UTF8ToUTF16("chrome-test://testing/"),
+ GURL("chrome-test://testing/"), "REPLACE-ME", data, new_delegate);
}
};
« no previous file with comments | « chrome/browser/notifications/extension_welcome_notification_unittest.cc ('k') | chrome/browser/notifications/notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698