| Index: chrome/browser/extensions/api/bluetooth/bluetooth_apitest_chromeos.cc
|
| diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_apitest_chromeos.cc b/chrome/browser/extensions/api/bluetooth/bluetooth_apitest_chromeos.cc
|
| index b9c095184210b897054ccddb4c076e7d0d84824b..cf419c1f565cbbf216f185a2648246df112a202a 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_apitest_chromeos.cc
|
| +++ b/chrome/browser/extensions/api/bluetooth/bluetooth_apitest_chromeos.cc
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/extensions/extension_test_message_listener.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chromeos/dbus/bluetooth_out_of_band_client.h"
|
| +#include "chromeos/dbus/bluetooth_out_of_band_pairing_data.h"
|
| #include "chrome/test/base/ui_test_utils.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
|
|
| @@ -46,6 +47,10 @@ class BluetoothApiTest : public PlatformAppApiTest {
|
| false /* paired */, true /* bonded */, false /* connected */));
|
| }
|
|
|
| + virtual void CleanUpOnMainThread() OVERRIDE {
|
| + EXPECT_CALL(*mock_adapter_, RemoveObserver(testing::_));
|
| + }
|
| +
|
| void expectBooleanResult(bool expected,
|
| UIThreadExtensionFunction* function) {
|
| scoped_ptr<base::Value> result(
|
| @@ -108,9 +113,9 @@ static bool CallClosure(const base::Closure& callback) {
|
| }
|
|
|
| static void CallOutOfBandPairingDataCallback(
|
| - const chromeos::BluetoothAdapter::BluetoothOutOfBandPairingDataCallback&
|
| - callback,
|
| - const chromeos::BluetoothAdapter::ErrorCallback& error_callback) {
|
| + const chromeos::BluetoothAdapter::BluetoothOutOfBandPairingDataCallback&
|
| + callback,
|
| + const chromeos::BluetoothAdapter::ErrorCallback& error_callback) {
|
| callback.Run(GetOutOfBandPairingData());
|
| }
|
|
|
|
|