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

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: include logging.h Created 6 years, 2 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 6c1a66a4de26ec1b8fd7ce40aada8148e4720c3e..71a0d064942400e73f028d2ec911de1d94e5408f 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