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

Unified Diff: content/browser/bluetooth/bluetooth_device_chooser_controller.cc

Issue 2063353002: device/bluetooth: split out transport enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove useless TransportMask Created 4 years, 6 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
Index: content/browser/bluetooth/bluetooth_device_chooser_controller.cc
diff --git a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
index 76b7b48c3795835c32acb50a861b679e455275c4..54f4f30a8dc6edd5c7f36ec3d333a2df305dd204 100644
--- a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
+++ b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
@@ -22,6 +22,7 @@
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
#include "device/bluetooth/bluetooth_adapter.h"
+#include "device/bluetooth/bluetooth_common.h"
#include "device/bluetooth/bluetooth_discovery_session.h"
using device::BluetoothUUID;
@@ -132,7 +133,7 @@ std::unique_ptr<device::BluetoothDiscoveryFilter> ComputeScanFilter(
}
}
auto discovery_filter = base::MakeUnique<device::BluetoothDiscoveryFilter>(
- device::BluetoothDiscoveryFilter::TRANSPORT_DUAL);
+ device::BLUETOOTH_TRANSPORT_DUAL);
for (const BluetoothUUID& service : services) {
discovery_filter->AddUUID(service);
}

Powered by Google App Engine
This is Rietveld 408576698