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

Unified Diff: content/child/blink_platform_impl.cc

Issue 1234413006: Move the Web Bluetooth implementation from child/ to renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Rebase Created 5 years, 5 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/bluetooth/DEPS » ('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 eb0c6241a6122cf5852764ecb89ee4d08a31ceaa..e99ccdfb07247fe2f714599b03181d35a1525c4a 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -39,7 +39,6 @@
#include "content/app/strings/grit/content_strings.h"
#include "content/child/background_sync/background_sync_provider.h"
#include "content/child/background_sync/background_sync_provider_thread_proxy.h"
-#include "content/child/bluetooth/web_bluetooth_impl.h"
#include "content/child/child_thread_impl.h"
#include "content/child/content_child_helpers.h"
#include "content/child/geofencing/web_geofencing_provider_impl.h"
@@ -454,8 +453,6 @@ void BlinkPlatformImpl::InternalInit() {
if (ChildThreadImpl::current()) {
geofencing_provider_.reset(new WebGeofencingProviderImpl(
ChildThreadImpl::current()->thread_safe_sender()));
- bluetooth_.reset(
- new WebBluetoothImpl(ChildThreadImpl::current()->thread_safe_sender()));
thread_safe_sender_ = ChildThreadImpl::current()->thread_safe_sender();
notification_dispatcher_ =
ChildThreadImpl::current()->notification_dispatcher();
@@ -1175,10 +1172,6 @@ blink::WebGeofencingProvider* BlinkPlatformImpl::geofencingProvider() {
return geofencing_provider_.get();
}
-blink::WebBluetooth* BlinkPlatformImpl::bluetooth() {
- return bluetooth_.get();
-}
-
blink::WebNotificationManager*
BlinkPlatformImpl::notificationManager() {
if (!thread_safe_sender_.get() || !notification_dispatcher_.get())
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/child/bluetooth/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698