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

Unified Diff: content/child/child_thread.cc

Issue 644643005: Implement a RenderFrame-less path for Web Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add OWNERS file Created 6 years, 2 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
« no previous file with comments | « content/child/child_thread.h ('k') | content/child/notifications/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « content/child/child_thread.h ('k') | content/child/notifications/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698