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

Unified Diff: chromeos/dbus/mock_dbus_thread_manager.cc

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.cc
diff --git a/chromeos/dbus/mock_dbus_thread_manager.cc b/chromeos/dbus/mock_dbus_thread_manager.cc
index 2fb1b685a478769662b5a9e8ac82ee63cc1d4bb2..f46c84b81baf82b6087736ccf9160e34dc637c43 100644
--- a/chromeos/dbus/mock_dbus_thread_manager.cc
+++ b/chromeos/dbus/mock_dbus_thread_manager.cc
@@ -11,6 +11,7 @@
#include "chromeos/dbus/mock_bluetooth_input_client.h"
#include "chromeos/dbus/mock_bluetooth_manager_client.h"
#include "chromeos/dbus/mock_bluetooth_node_client.h"
+#include "chromeos/dbus/mock_bluetooth_out_of_band_client.h"
#include "chromeos/dbus/mock_cashew_client.h"
#include "chromeos/dbus/mock_cros_disks_client.h"
#include "chromeos/dbus/mock_cryptohome_client.h"
@@ -41,6 +42,7 @@ MockDBusThreadManager::MockDBusThreadManager()
mock_bluetooth_input_client_(new MockBluetoothInputClient),
mock_bluetooth_manager_client_(new MockBluetoothManagerClient),
mock_bluetooth_node_client_(new MockBluetoothNodeClient),
+ mock_bluetooth_out_of_band_client_(new MockBluetoothOutOfBandClient),
mock_cashew_client_(new MockCashewClient),
mock_cros_disks_client_(new MockCrosDisksClient),
mock_cryptohome_client_(new MockCryptohomeClient),
@@ -70,6 +72,8 @@ MockDBusThreadManager::MockDBusThreadManager()
.WillRepeatedly(Return(mock_bluetooth_manager_client()));
EXPECT_CALL(*this, GetBluetoothNodeClient())
.WillRepeatedly(Return(mock_bluetooth_node_client_.get()));
+ EXPECT_CALL(*this, GetBluetoothOutOfBandClient())
+ .WillRepeatedly(Return(mock_bluetooth_out_of_band_client_.get()));
EXPECT_CALL(*this, GetCashewClient())
.WillRepeatedly(Return(mock_cashew_client()));
EXPECT_CALL(*this, GetCrosDisksClient())

Powered by Google App Engine
This is Rietveld 408576698