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

Unified Diff: device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc

Issue 12018024: Implemented Asynchronous Initialization of BluetoothAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed RunCallbackOnAdapterReady to GetAdapter. Created 7 years, 11 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_devices_chromeos_unittest.cc
diff --git a/device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc b/device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc
index bf5a04befd2f553d8f04d7dc85061c359ddfefbf..2edfde4251e1fd1aafcbd7070ad59228cc0e2b94 100644
--- a/device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc
@@ -52,7 +52,7 @@ class BluetoothAdapterDevicesChromeOsTest : public testing::Test {
EXPECT_CALL(*mock_adapter_client_, AddObserver(_))
.Times(1);
- BluetoothAdapterFactory::RunCallbackOnAdapterReady(
+ BluetoothAdapterFactory::GetAdapter(
base::Bind(&BluetoothAdapterDevicesChromeOsTest::SetAdapter,
base::Unretained(this)));
ASSERT_TRUE(adapter_ != NULL);

Powered by Google App Engine
This is Rietveld 408576698