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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 7053041: Add a Create method to DesktopNotificationHandler and stubs for the notification objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 6 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: content/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 08741b651fcdcb7d7b01cccfb6c987637a899cd9..6207ba76d29ac8e7b08764d80e83988ac2622406 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -26,10 +26,10 @@
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/surface/transport_dib.h"
+class DesktopNotificationService;
struct FontDescriptor;
class ExtensionInfoMap;
class HostContentSettingsMap;
-class NotificationsPrefsCache;
class Profile;
class RenderWidgetHelper;
struct ViewHostMsg_CreateWindow_Params;
@@ -238,9 +238,7 @@ class RenderMessageFilter : public BrowserMessageFilter {
scoped_refptr<RenderWidgetHelper> render_widget_helper_;
- // A cache of notifications preferences which is used to handle
- // Desktop Notifications permission messages.
- scoped_refptr<NotificationsPrefsCache> notification_prefs_;
+ DesktopNotificationService* notification_service_;
// Whether this process is used for incognito tabs.
bool incognito_;

Powered by Google App Engine
This is Rietveld 408576698