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

Unified Diff: chrome/browser/ui/cocoa/notifications/message_center_tray_bridge_unittest.mm

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 | « chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc ('k') | ui/message_center/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/notifications/message_center_tray_bridge_unittest.mm
diff --git a/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge_unittest.mm b/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge_unittest.mm
index acfd9883ff8ae0b331b81b87a598966eb8b9834f..2935d0486c097661b23b18f0771c1114c1dc4a82 100644
--- a/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge_unittest.mm
+++ b/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge_unittest.mm
@@ -46,15 +46,10 @@ class MessageCenterTrayBridgeTest : public ui::CocoaTest {
message_center::RichNotificationData data;
data.priority = -1;
return make_scoped_ptr(new message_center::Notification(
- message_center::NOTIFICATION_TYPE_SIMPLE,
- "1",
+ message_center::NOTIFICATION_TYPE_SIMPLE, "1",
base::ASCIIToUTF16("First notification"),
- base::ASCIIToUTF16("This is a simple test."),
- gfx::Image(),
- base::string16(),
- message_center::NotifierId(),
- data,
- NULL));
+ base::ASCIIToUTF16("This is a simple test."), gfx::Image(),
+ base::string16(), GURL(), message_center::NotifierId(), data, NULL));
}
TestingPrefServiceSimple* local_state() { return local_state_->Get(); }
« no previous file with comments | « chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc ('k') | ui/message_center/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698