Index: content/child/child_thread.cc |
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc |
index dba68006cf905713ffed2cc9cd2a4e05f5a67549..b665e8914ad84b14282a10ce1468457414a75ab7 100644 |
--- a/content/child/child_thread.cc |
+++ b/content/child/child_thread.cc |
@@ -36,6 +36,7 @@ |
#include "content/child/fileapi/webfilesystem_impl.h" |
#include "content/child/geofencing/geofencing_message_filter.h" |
#include "content/child/mojo/mojo_application.h" |
+#include "content/child/notifications/notification_dispatcher.h" |
#include "content/child/power_monitor_broadcast_source.h" |
#include "content/child/quota_dispatcher.h" |
#include "content/child/quota_message_filter.h" |
@@ -288,14 +289,15 @@ void ChildThread::Init(const Options& options) { |
new QuotaMessageFilter(thread_safe_sender_.get()); |
quota_dispatcher_.reset(new QuotaDispatcher(thread_safe_sender_.get(), |
quota_message_filter_.get())); |
- |
geofencing_message_filter_ = |
new GeofencingMessageFilter(thread_safe_sender_.get()); |
- |
+ notification_dispatcher_ = |
+ new NotificationDispatcher(thread_safe_sender_.get()); |
channel_->AddFilter(histogram_message_filter_.get()); |
channel_->AddFilter(sync_message_filter_.get()); |
channel_->AddFilter(resource_message_filter_.get()); |
channel_->AddFilter(quota_message_filter_->GetFilter()); |
+ channel_->AddFilter(notification_dispatcher_->GetFilter()); |
channel_->AddFilter(service_worker_message_filter_->GetFilter()); |
channel_->AddFilter(geofencing_message_filter_->GetFilter()); |