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

Unified Diff: content/child/child_thread.cc

Issue 699843003: bluetooth: Impl uses new WebBluetoothDevice in content/browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: fix compile failure on android. Created 6 years, 1 month 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
Index: content/child/child_thread.cc
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc
index b665e8914ad84b14282a10ce1468457414a75ab7..5061b4cb2c0ff747ce9137ddb3cbf40351274361 100644
--- a/content/child/child_thread.cc
+++ b/content/child/child_thread.cc
@@ -26,6 +26,7 @@
#include "base/threading/thread_local.h"
#include "base/tracked_objects.h"
#include "components/tracing/child_trace_message_filter.h"
+#include "content/child/bluetooth/bluetooth_message_filter.h"
#include "content/child/child_discardable_shared_memory_manager.h"
#include "content/child/child_gpu_memory_buffer_manager.h"
#include "content/child/child_histogram_message_filter.h"
@@ -291,6 +292,8 @@ void ChildThread::Init(const Options& options) {
quota_message_filter_.get()));
geofencing_message_filter_ =
new GeofencingMessageFilter(thread_safe_sender_.get());
+ bluetooth_message_filter_ =
+ new BluetoothMessageFilter(thread_safe_sender_.get());
notification_dispatcher_ =
new NotificationDispatcher(thread_safe_sender_.get());
channel_->AddFilter(histogram_message_filter_.get());
@@ -300,6 +303,7 @@ void ChildThread::Init(const Options& options) {
channel_->AddFilter(notification_dispatcher_->GetFilter());
channel_->AddFilter(service_worker_message_filter_->GetFilter());
channel_->AddFilter(geofencing_message_filter_->GetFilter());
+ channel_->AddFilter(bluetooth_message_filter_->GetFilter());
if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kSingleProcess)) {

Powered by Google App Engine
This is Rietveld 408576698