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

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

Issue 554213003: Request the icon of a Web Notification in the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the tests 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/notification_test_util.cc
diff --git a/chrome/browser/notifications/notification_test_util.cc b/chrome/browser/notifications/notification_test_util.cc
index 8abc379376e24312ddb5182ab1b4db2a21a9ce64..49cae3f9522143d66738ac080e975920df2e7645 100644
--- a/chrome/browser/notifications/notification_test_util.cc
+++ b/chrome/browser/notifications/notification_test_util.cc
@@ -15,12 +15,12 @@ content::WebContents* MockNotificationDelegate::GetWebContents() const {
return NULL;
}
+// TODO(peter): |notification_| should be initialized with the correct origin.
StubNotificationUIManager::StubNotificationUIManager(const GURL& welcome_origin)
: notification_(GURL(),
- GURL(),
base::string16(),
base::string16(),
- blink::WebTextDirectionDefault,
+ gfx::Image(),
base::string16(),
base::string16(),
new MockNotificationDelegate("stub")),

Powered by Google App Engine
This is Rietveld 408576698