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

Unified Diff: content/child/blink_platform_impl.cc

Issue 1904163002: Move Web Notifications to use Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@skbitmap-blink
Patch Set: it works \o/ Created 4 years, 8 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/blink_platform_impl.h ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index fc4bb874db241eb9c0e89e03a068aeab7c134a4c..1aee7014503ec7116dbf6fa0c0abcc73bec1fecb 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -43,8 +43,6 @@
#include "content/child/child_thread_impl.h"
#include "content/child/content_child_helpers.h"
#include "content/child/geofencing/web_geofencing_provider_impl.h"
-#include "content/child/notifications/notification_dispatcher.h"
-#include "content/child/notifications/notification_manager.h"
#include "content/child/permissions/permission_dispatcher.h"
#include "content/child/permissions/permission_dispatcher_thread_proxy.h"
#include "content/child/push_messaging/push_dispatcher.h"
@@ -387,8 +385,6 @@ void BlinkPlatformImpl::InternalInit() {
geofencing_provider_.reset(new WebGeofencingProviderImpl(
ChildThreadImpl::current()->thread_safe_sender()));
thread_safe_sender_ = ChildThreadImpl::current()->thread_safe_sender();
- notification_dispatcher_ =
- ChildThreadImpl::current()->notification_dispatcher();
push_dispatcher_ = ChildThreadImpl::current()->push_dispatcher();
permission_client_.reset(new PermissionDispatcher(
ChildThreadImpl::current()->service_registry()));
@@ -866,16 +862,6 @@ blink::WebGeofencingProvider* BlinkPlatformImpl::geofencingProvider() {
return geofencing_provider_.get();
}
-blink::WebNotificationManager*
-BlinkPlatformImpl::notificationManager() {
- if (!thread_safe_sender_.get() || !notification_dispatcher_.get())
- return nullptr;
-
- return NotificationManager::ThreadSpecificInstance(
- thread_safe_sender_.get(),
- notification_dispatcher_.get());
-}
-
blink::WebPushProvider* BlinkPlatformImpl::pushProvider() {
if (!thread_safe_sender_.get() || !push_dispatcher_.get())
return nullptr;
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/child/child_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698