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

Unified Diff: chromeos/dbus/mock_dbus_thread_manager.h

Issue 12605008: D-Bus Clients for BlueZ 5 API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mock dbus thread manager without gmock? I didn't even know that was a thing! Created 7 years, 9 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 85d752f05274f39eef6695dd31adb558354dcd7a..12a4906e3dfcdb3af95a233164c08854810c90c4 100644
--- a/chromeos/dbus/mock_dbus_thread_manager.h
+++ b/chromeos/dbus/mock_dbus_thread_manager.h
@@ -29,6 +29,10 @@ class MockBluetoothOutOfBandClient;
class MockCrosDisksClient;
class MockCryptohomeClient;
class MockDebugDaemonClient;
+class MockExperimentalBluetoothAdapterClient;
+class MockExperimentalBluetoothAgentManagerClient;
+class MockExperimentalBluetoothDeviceClient;
+class MockExperimentalBluetoothProfileManagerClient;
class MockShillDeviceClient;
class MockShillIPConfigClient;
class MockShillManagerClient;
@@ -69,6 +73,14 @@ class MockDBusThreadManager : public DBusThreadManager {
MOCK_METHOD0(GetCrosDisksClient, CrosDisksClient*(void));
MOCK_METHOD0(GetCryptohomeClient, CryptohomeClient*(void));
MOCK_METHOD0(GetDebugDaemonClient, DebugDaemonClient*(void));
+ MOCK_METHOD0(GetExperimentalBluetoothAdapterClient,
+ ExperimentalBluetoothAdapterClient*(void));
+ MOCK_METHOD0(GetExperimentalBluetoothAgentManagerClient,
+ ExperimentalBluetoothAgentManagerClient*(void));
+ MOCK_METHOD0(GetExperimentalBluetoothDeviceClient,
+ ExperimentalBluetoothDeviceClient*(void));
+ MOCK_METHOD0(GetExperimentalBluetoothProfileManagerClient,
+ ExperimentalBluetoothProfileManagerClient*(void));
MOCK_METHOD0(GetShillDeviceClient, ShillDeviceClient*(void));
MOCK_METHOD0(GetShillIPConfigClient, ShillIPConfigClient*(void));
MOCK_METHOD0(GetShillManagerClient, ShillManagerClient*(void));
@@ -122,6 +134,22 @@ class MockDBusThreadManager : public DBusThreadManager {
MockDebugDaemonClient* mock_debugdaemon_client() {
return mock_debugdaemon_client_.get();
}
+ MockExperimentalBluetoothAdapterClient*
+ mock_experimental_bluetooth_adapter_client() {
+ return mock_experimental_bluetooth_adapter_client_.get();
+ }
+ MockExperimentalBluetoothAgentManagerClient*
+ mock_experimental_bluetooth_agent_manager_client() {
+ return mock_experimental_bluetooth_agent_manager_client_.get();
+ }
+ MockExperimentalBluetoothDeviceClient*
+ mock_experimental_bluetooth_device_client() {
+ return mock_experimental_bluetooth_device_client_.get();
+ }
+ MockExperimentalBluetoothProfileManagerClient*
+ mock_experimental_bluetooth_profile_manager_client() {
+ return mock_experimental_bluetooth_profile_manager_client_.get();
+ }
MockShillDeviceClient* mock_shill_device_client() {
return mock_shill_device_client_.get();
}
@@ -182,6 +210,14 @@ class MockDBusThreadManager : public DBusThreadManager {
scoped_ptr<MockCrosDisksClient> mock_cros_disks_client_;
scoped_ptr<MockCryptohomeClient> mock_cryptohome_client_;
scoped_ptr<MockDebugDaemonClient> mock_debugdaemon_client_;
+ scoped_ptr<MockExperimentalBluetoothAdapterClient>
+ mock_experimental_bluetooth_adapter_client_;
+ scoped_ptr<MockExperimentalBluetoothAgentManagerClient>
+ mock_experimental_bluetooth_agent_manager_client_;
+ scoped_ptr<MockExperimentalBluetoothDeviceClient>
+ mock_experimental_bluetooth_device_client_;
+ scoped_ptr<MockExperimentalBluetoothProfileManagerClient>
+ mock_experimental_bluetooth_profile_manager_client_;
scoped_ptr<MockShillDeviceClient> mock_shill_device_client_;
scoped_ptr<MockShillIPConfigClient> mock_shill_ipconfig_client_;
scoped_ptr<MockShillManagerClient> mock_shill_manager_client_;
« no previous file with comments | « chromeos/dbus/experimental_bluetooth_profile_service_provider.cc ('k') | chromeos/dbus/mock_dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698