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

Unified Diff: chromeos/dbus/mock_dbus_thread_manager.h

Issue 10546010: Implement support for the OOB Pairing APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refactor to create BluetoothOutOfBandClient Created 8 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: chromeos/dbus/mock_dbus_thread_manager.h
diff --git a/chromeos/dbus/mock_dbus_thread_manager.h b/chromeos/dbus/mock_dbus_thread_manager.h
index 9d015e891ba28ae2953d7715a3f1a10ec4bf04de..5ddb64c2ce74141f27b519159d474f3ec5bf2250 100644
--- a/chromeos/dbus/mock_dbus_thread_manager.h
+++ b/chromeos/dbus/mock_dbus_thread_manager.h
@@ -23,6 +23,7 @@ class MockBluetoothDeviceClient;
class MockBluetoothInputClient;
class MockBluetoothManagerClient;
class MockBluetoothNodeClient;
+class MockBluetoothOutOfBandClient;
class MockCashewClient;
class MockCrosDisksClient;
class MockCryptohomeClient;
@@ -59,6 +60,7 @@ class MockDBusThreadManager : public DBusThreadManager {
MOCK_METHOD0(GetBluetoothInputClient, BluetoothInputClient*(void));
MOCK_METHOD0(GetBluetoothManagerClient, BluetoothManagerClient*(void));
MOCK_METHOD0(GetBluetoothNodeClient, BluetoothNodeClient*(void));
+ MOCK_METHOD0(GetBluetoothOutOfBandClient, BluetoothOutOfBandClient*(void));
MOCK_METHOD0(GetCashewClient, CashewClient*(void));
MOCK_METHOD0(GetCrosDisksClient, CrosDisksClient*(void));
MOCK_METHOD0(GetCryptohomeClient, CryptohomeClient*(void));
@@ -94,6 +96,9 @@ class MockDBusThreadManager : public DBusThreadManager {
MockBluetoothNodeClient* mock_bluetooth_node_client() {
return mock_bluetooth_node_client_.get();
}
+ MockBluetoothOutOfBandClient* mock_bluetooth_out_of_band_client() {
+ return mock_bluetooth_out_of_band_client_.get();
+ }
MockCashewClient* mock_cashew_client() {
return mock_cashew_client_.get();
}
@@ -158,6 +163,7 @@ class MockDBusThreadManager : public DBusThreadManager {
scoped_ptr<MockBluetoothInputClient> mock_bluetooth_input_client_;
scoped_ptr<MockBluetoothManagerClient> mock_bluetooth_manager_client_;
scoped_ptr<MockBluetoothNodeClient> mock_bluetooth_node_client_;
+ scoped_ptr<MockBluetoothOutOfBandClient> mock_bluetooth_out_of_band_client_;
scoped_ptr<MockCashewClient> mock_cashew_client_;
scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_;
scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_;

Powered by Google App Engine
This is Rietveld 408576698