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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_private_apitest.cc

Issue 2063353002: device/bluetooth: split out transport enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renaming header, moving TransportMask back into filter 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: extensions/browser/api/bluetooth/bluetooth_private_apitest.cc
diff --git a/extensions/browser/api/bluetooth/bluetooth_private_apitest.cc b/extensions/browser/api/bluetooth/bluetooth_private_apitest.cc
index 8307eb0b4f1795a6ac5dad6610cb8fb2a6b0be16..807f93c03b770cd6e271a5678756fc03a57f3df8 100644
--- a/extensions/browser/api/bluetooth/bluetooth_private_apitest.cc
+++ b/extensions/browser/api/bluetooth/bluetooth_private_apitest.cc
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "build/build_config.h"
#include "chrome/browser/extensions/extension_apitest.h"
+#include "device/bluetooth/bluetooth_types.h"
#include "device/bluetooth/test/mock_bluetooth_adapter.h"
#include "device/bluetooth/test/mock_bluetooth_device.h"
#include "device/bluetooth/test/mock_bluetooth_discovery_session.h"
@@ -252,7 +253,7 @@ IN_PROC_BROWSER_TEST_F(BluetoothPrivateApiTest, DiscoveryFilter) {
mock_discovery_session_ = new NiceMock<MockBluetoothDiscoverySession>();
BluetoothDiscoveryFilter discovery_filter(
- BluetoothDiscoveryFilter::Transport::TRANSPORT_LE);
+ device::BluetoothTransport::TRANSPORT_LE);
discovery_filter.SetPathloss(50);
discovery_filter.AddUUID(BluetoothUUID("cafe"));
discovery_filter.AddUUID(

Powered by Google App Engine
This is Rietveld 408576698