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

Unified Diff: chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc

Issue 14508007: dbus: Add FakeOldBluetooth{Adapter,Device,Manager} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unnecessary lines. 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 2a4e530b8efdce61365a2cf9997b657d26dee7b3..40623d239978ccb49c50f019ed6b300fe25002f4 100644
--- a/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc
+++ b/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc
@@ -13,6 +13,9 @@
#include "chromeos/dbus/fake_cros_disks_client.h"
#include "chromeos/dbus/fake_cryptohome_client.h"
#include "chromeos/dbus/fake_image_burner_client.h"
+#include "chromeos/dbus/fake_old_bluetooth_adapter_client.h"
+#include "chromeos/dbus/fake_old_bluetooth_device_client.h"
+#include "chromeos/dbus/fake_old_bluetooth_manager_client.h"
#include "chromeos/dbus/fake_shill_manager_client.h"
#include "chromeos/dbus/fake_system_clock_client.h"
#include "chromeos/dbus/ibus/mock_ibus_client.h"
@@ -36,6 +39,9 @@ MockDBusThreadManagerWithoutGMock::MockDBusThreadManagerWithoutGMock()
fake_image_burner_client_(new FakeImageBurnerClient),
fake_shill_manager_client_(new FakeShillManagerClient),
fake_system_clock_client_(new FakeSystemClockClient),
+ fake_old_bluetooth_manager_client_(new FakeOldBluetoothManagerClient),
+ fake_old_bluetooth_adapter_client_(new FakeOldBluetoothAdapterClient),
+ fake_old_bluetooth_device_client_(new FakeOldBluetoothDeviceClient),
mock_ibus_client_(new MockIBusClient),
mock_ibus_config_client_(new MockIBusConfigClient),
mock_ibus_input_context_client_(new MockIBusInputContextClient),
@@ -79,14 +85,12 @@ dbus::Bus* MockDBusThreadManagerWithoutGMock::GetIBusBus() {
BluetoothAdapterClient*
MockDBusThreadManagerWithoutGMock::GetBluetoothAdapterClient() {
- NOTIMPLEMENTED();
- return NULL;
+ return fake_old_bluetooth_adapter_client_.get();
}
BluetoothDeviceClient*
MockDBusThreadManagerWithoutGMock::GetBluetoothDeviceClient() {
- NOTIMPLEMENTED();
- return NULL;
+ return fake_old_bluetooth_device_client_.get();
}
BluetoothInputClient*
@@ -97,8 +101,7 @@ BluetoothInputClient*
BluetoothManagerClient*
MockDBusThreadManagerWithoutGMock::GetBluetoothManagerClient() {
- NOTIMPLEMENTED();
- return NULL;
+ return fake_old_bluetooth_manager_client_.get();
}
BluetoothNodeClient*
« chromeos/chromeos.gyp ('K') | « chromeos/dbus/mock_dbus_thread_manager_without_gmock.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698