diff options
author | keybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-02 23:09:16 +0000 |
---|---|---|
committer | keybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-02 23:09:16 +0000 |
commit | 38589bff775236665d3fd52dd19b8322be998a7d (patch) | |
tree | 73bf358aee9c4643679d019686de0f2f435ae15a /device/bluetooth/bluetooth_adapter_mac_unittest.mm | |
parent | 7ed98953e3a29e7032829e366c5fca305519ef06 (diff) | |
download | chromium_src-38589bff775236665d3fd52dd19b8322be998a7d.zip chromium_src-38589bff775236665d3fd52dd19b8322be998a7d.tar.gz chromium_src-38589bff775236665d3fd52dd19b8322be998a7d.tar.bz2 |
Bluetooth: rename TrackDefaultAdapter to Init
This makes more sense since Init() makes IsInitialized() return true;
remove the method entirely from the implementations where it makes no
sense.
Rename TrackTestAdapter() to InitForTest() to match on the win and mac
implementations.
BUG=none
TEST=device_unittests
Review URL: https://chromiumcodereview.appspot.com/13214002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/bluetooth/bluetooth_adapter_mac_unittest.mm')
-rw-r--r-- | device/bluetooth/bluetooth_adapter_mac_unittest.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device/bluetooth/bluetooth_adapter_mac_unittest.mm b/device/bluetooth/bluetooth_adapter_mac_unittest.mm index 19e2a8a..2ea7f5a 100644 --- a/device/bluetooth/bluetooth_adapter_mac_unittest.mm +++ b/device/bluetooth/bluetooth_adapter_mac_unittest.mm @@ -125,7 +125,7 @@ class BluetoothAdapterMacTest : public testing::Test { : ui_task_runner_(new base::TestSimpleTaskRunner()), adapter_(new BluetoothAdapterMac()), adapter_mac_(static_cast<BluetoothAdapterMac*>(adapter_.get())) { - adapter_mac_->TrackTestAdapter(ui_task_runner_); + adapter_mac_->InitForTest(ui_task_runner_); adapter_mac_->RemoveUnpairedDevices([NSArray array]); adapter_observer_.Clear(); } |