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

Unified Diff: chromeos/dbus/mock_dbus_thread_manager_without_gmock.h

Issue 13927010: Bluetooth: implement BlueZ 5 backend for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix review comment 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.h
diff --git a/chromeos/dbus/mock_dbus_thread_manager_without_gmock.h b/chromeos/dbus/mock_dbus_thread_manager_without_gmock.h
index 04853ed434367494142f1b16128be27ad0a4bfb4..0acbd818dbb9ed7f44159fe69ae384bd09b561d4 100644
--- a/chromeos/dbus/mock_dbus_thread_manager_without_gmock.h
+++ b/chromeos/dbus/mock_dbus_thread_manager_without_gmock.h
@@ -19,6 +19,10 @@ class ObjectPath;
namespace chromeos {
class DBusThreadManagerObserver;
+class FakeBluetoothAdapterClient;
+class FakeBluetoothAgentManagerClient;
+class FakeBluetoothDeviceClient;
+class FakeBluetoothProfileManagerClient;
class MockIBusClient;
class MockIBusConfigClient;
class MockIBusEngineFactoryService;
@@ -85,6 +89,22 @@ class MockDBusThreadManagerWithoutGMock : public DBusThreadManager {
const dbus::ObjectPath& object_path) OVERRIDE;
virtual IBusPanelService* GetIBusPanelService() OVERRIDE;
+ FakeBluetoothAdapterClient* fake_bluetooth_adapter_client() {
+ return fake_bluetooth_adapter_client_.get();
+ }
+
+ FakeBluetoothAgentManagerClient* fake_bluetooth_agent_manager_client() {
+ return fake_bluetooth_agent_manager_client_.get();
+ }
+
+ FakeBluetoothDeviceClient* fake_bluetooth_device_client() {
+ return fake_bluetooth_device_client_.get();
+ }
+
+ FakeBluetoothProfileManagerClient* fake_bluetooth_profile_manager_client() {
+ return fake_bluetooth_profile_manager_client_.get();
+ }
+
MockIBusClient* mock_ibus_client() {
return mock_ibus_client_.get();
}
@@ -114,6 +134,12 @@ class MockDBusThreadManagerWithoutGMock : public DBusThreadManager {
}
private:
+ scoped_ptr<FakeBluetoothAdapterClient> fake_bluetooth_adapter_client_;
+ scoped_ptr<FakeBluetoothAgentManagerClient>
+ fake_bluetooth_agent_manager_client_;
+ scoped_ptr<FakeBluetoothDeviceClient> fake_bluetooth_device_client_;
+ scoped_ptr<FakeBluetoothProfileManagerClient>
+ fake_bluetooth_profile_manager_client_;
scoped_ptr<MockIBusClient> mock_ibus_client_;
scoped_ptr<MockIBusConfigClient> mock_ibus_config_client_;
scoped_ptr<MockIBusInputContextClient> mock_ibus_input_context_client_;
« no previous file with comments | « chromeos/dbus/fake_bluetooth_profile_service_provider.cc ('k') | chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698