Index: content/browser/renderer_host/render_process_host_impl.h |
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h |
index b2de5137e947f84d5f5f4e5de33f762f15ce59fa..b3bdf3bea7fb1c70b0b8b011cf4f389513098aee 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -44,6 +44,7 @@ class BrowserDemuxerAndroid; |
class GpuMessageFilter; |
class MessagePortMessageFilter; |
class MojoApplicationHost; |
+class NotificationMessageFilter; |
#if defined(ENABLE_WEBRTC) |
class P2PSocketDispatcherHost; |
#endif |
@@ -240,6 +241,10 @@ class CONTENT_EXPORT RenderProcessHostImpl |
return message_port_message_filter_.get(); |
} |
+ NotificationMessageFilter* notification_message_filter() const { |
+ return notification_message_filter_.get(); |
+ } |
+ |
void set_is_isolated_guest_for_testing(bool is_isolated_guest) { |
is_isolated_guest_ = is_isolated_guest; |
} |
@@ -361,6 +366,10 @@ class CONTENT_EXPORT RenderProcessHostImpl |
// The filter for MessagePort messages coming from the renderer. |
scoped_refptr<MessagePortMessageFilter> message_port_message_filter_; |
+ // The filter for Web Notification messages coming from the renderer. Holds a |
+ // closure per notification that must be freed when the notification closes. |
+ scoped_refptr<NotificationMessageFilter> notification_message_filter_; |
+ |
// Used in single-process mode. |
scoped_ptr<base::Thread> in_process_renderer_; |