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

Unified Diff: chrome/browser/notifications/message_center_notifications_unittest.cc

Issue 580243004: Remove unnecessary image downloading handler of notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: re-upload Created 6 years, 3 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_unittest.cc
diff --git a/chrome/browser/notifications/message_center_notifications_unittest.cc b/chrome/browser/notifications/message_center_notifications_unittest.cc
index 4b04232ade4904e7686e85ece161ce313dfbb5cf..484a313dd6b751a0da6a7db601df08012e9ef619 100644
--- a/chrome/browser/notifications/message_center_notifications_unittest.cc
+++ b/chrome/browser/notifications/message_center_notifications_unittest.cc
@@ -100,13 +100,16 @@ class MessageCenterNotificationManagerTest : public BrowserWithTestWindowTest {
const ::Notification GetANotification(const std::string& id) {
return ::Notification(
+ message_center::NOTIFICATION_TYPE_SIMPLE,
GURL("chrome-extension://adflkjsdflkdsfdsflkjdsflkdjfs"),
- gfx::Image(),
base::string16(),
base::string16(),
+ gfx::Image(),
blink::WebTextDirectionDefault,
+ message_center::NotifierId(),
base::string16(),
base::UTF8ToUTF16(id),
+ message_center::RichNotificationData(),
new MockNotificationDelegate(id));
}

Powered by Google App Engine
This is Rietveld 408576698