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

Unified Diff: chrome/browser/ui/panels/panel_browsertest.cc

Issue 8511075: Move the struct used when showing a desktop notification to content/public/common, so that chrome... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/ui/panels/panel_browsertest.cc
===================================================================
--- chrome/browser/ui/panels/panel_browsertest.cc (revision 109661)
+++ chrome/browser/ui/panels/panel_browsertest.cc (working copy)
@@ -1608,8 +1608,8 @@
PanelBrowserTest::CleanUpOnMainThread();
}
- DesktopNotificationHostMsg_Show_Params StandardTestNotification() {
- DesktopNotificationHostMsg_Show_Params params;
+ content::ShowDesktopNotificationHostMsgParams StandardTestNotification() {
+ content::ShowDesktopNotificationHostMsgParams params;
params.notification_id = 0;
params.origin = GURL("http://www.google.com");
params.is_html = false;
@@ -1648,7 +1648,8 @@
const int kShortPanelHeight = 150;
const int kTallPanelHeight = 200;
- DesktopNotificationHostMsg_Show_Params params = StandardTestNotification();
+ content::ShowDesktopNotificationHostMsgParams params =
+ StandardTestNotification();
EXPECT_TRUE(service()->ShowDesktopNotification(
params, 0, 0, DesktopNotificationService::PageNotification));
MessageLoopForUI::current()->RunAllPending();
« no previous file with comments | « chrome/browser/notifications/desktop_notifications_unittest.cc ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698