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

Unified Diff: chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc

Issue 14048007: Bluetooth: D-Bus client interface for org.bluez.Input1 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fake with removal Created 7 years, 8 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_without_gmock.cc
diff --git a/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc b/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc
index 49c5bbea6baba9c9c6651626174f6985780bbe79..130f33f42c8f8f057943c8fe8f21a2bfd37c51bf 100644
--- a/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc
+++ b/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc
@@ -5,6 +5,7 @@
#include "chromeos/dbus/mock_dbus_thread_manager_without_gmock.h"
#include "chromeos/dbus/dbus_thread_manager_observer.h"
+#include "chromeos/dbus/fake_bluetooth_input_client.h"
#include "chromeos/dbus/ibus/mock_ibus_client.h"
#include "chromeos/dbus/ibus/mock_ibus_config_client.h"
#include "chromeos/dbus/ibus/mock_ibus_engine_factory_service.h"
@@ -15,7 +16,8 @@
namespace chromeos {
MockDBusThreadManagerWithoutGMock::MockDBusThreadManagerWithoutGMock()
- : mock_ibus_client_(new MockIBusClient),
+ : fake_bluetooth_input_client_(new FakeBluetoothInputClient),
+ mock_ibus_client_(new MockIBusClient),
mock_ibus_input_context_client_(new MockIBusInputContextClient),
ibus_bus_(NULL) {
}
@@ -121,6 +123,11 @@ ExperimentalBluetoothDeviceClient*
return NULL;
}
+ExperimentalBluetoothInputClient*
+ MockDBusThreadManagerWithoutGMock::GetExperimentalBluetoothInputClient() {
+ return fake_bluetooth_input_client_.get();
+}
+
ExperimentalBluetoothProfileManagerClient*
MockDBusThreadManagerWithoutGMock::
GetExperimentalBluetoothProfileManagerClient() {

Powered by Google App Engine
This is Rietveld 408576698