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

Unified Diff: chrome/browser/notifications/desktop_notification_service.h

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/notifications/desktop_notification_service.h
===================================================================
--- chrome/browser/notifications/desktop_notification_service.h (revision 109661)
+++ chrome/browser/notifications/desktop_notification_service.h (working copy)
@@ -30,8 +30,11 @@
class PrefService;
class Profile;
class TabContents;
-struct DesktopNotificationHostMsg_Show_Params;
+namespace content {
+struct ShowDesktopNotificationHostMsgParams;
+}
+
// The DesktopNotificationService is an object, owned by the Profile,
// which provides the creation of desktop "toasts" to web pages and workers.
class DesktopNotificationService : public content::NotificationObserver,
@@ -65,7 +68,7 @@
// whether the script is in a worker or page. |params| contains all the
// other parameters supplied by the worker or page.
bool ShowDesktopNotification(
- const DesktopNotificationHostMsg_Show_Params& params,
+ const content::ShowDesktopNotificationHostMsgParams& params,
int process_id, int route_id, DesktopNotificationSource source);
// Cancels a notification. If it has already been shown, it will be

Powered by Google App Engine
This is Rietveld 408576698