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

Unified Diff: device/bluetooth/bluetooth_adapter_mac_unittest.mm

Issue 1226133006: Move CBCentralManager from the Discovery Manager to Adapter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@adddevs
Patch Set: comment edit 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
Index: device/bluetooth/bluetooth_adapter_mac_unittest.mm
diff --git a/device/bluetooth/bluetooth_adapter_mac_unittest.mm b/device/bluetooth/bluetooth_adapter_mac_unittest.mm
index be0184893fb82da61e416cf1bb7d55f8a3d55050..49fc30becd972a0a7f68eb7928f99658baf77e3e 100644
--- a/device/bluetooth/bluetooth_adapter_mac_unittest.mm
+++ b/device/bluetooth/bluetooth_adapter_mac_unittest.mm
@@ -113,8 +113,7 @@ class BluetoothAdapterMacTest : public testing::Test {
return false;
}
mock_central_manager_ = [[MockCentralManager alloc] init];
- adapter_mac_->low_energy_discovery_manager_->SetManagerForTesting(
- mock_central_manager_);
+ adapter_mac_->SetCentralManagerForTesting(mock_central_manager_);
return true;
}
@@ -145,7 +144,7 @@ class BluetoothAdapterMacTest : public testing::Test {
scoped_refptr<BluetoothAdapter> adapter_;
BluetoothAdapterMac* adapter_mac_;
- // Owned by |low_energy_discovery_manager_| on |adapter_mac_|.
+ // Owned by |adapter_mac_|.
id mock_central_manager_ = NULL;
int callback_count_;
« no previous file with comments | « device/bluetooth/bluetooth_adapter_mac.mm ('k') | device/bluetooth/bluetooth_low_energy_central_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698