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

Unified Diff: chromeos/dbus/mock_bluetooth_manager_client.h

Issue 10831360: bluetooth: Improve testability (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: corect speling oof received Created 8 years, 4 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
« no previous file with comments | « chromeos/dbus/mock_bluetooth_input_client.cc ('k') | chromeos/dbus/mock_bluetooth_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_bluetooth_manager_client.h
diff --git a/chromeos/dbus/mock_bluetooth_manager_client.h b/chromeos/dbus/mock_bluetooth_manager_client.h
index 9485e24bf99cfb4be44397bd63504cae2f00cc27..b6175c280af0c0a89fd2551c93f4e108450f1c32 100644
--- a/chromeos/dbus/mock_bluetooth_manager_client.h
+++ b/chromeos/dbus/mock_bluetooth_manager_client.h
@@ -14,6 +14,21 @@ namespace chromeos {
class MockBluetoothManagerClient : public BluetoothManagerClient {
public:
+ struct Properties : public BluetoothManagerClient::Properties {
+ Properties();
+ virtual ~Properties();
+
+ MOCK_METHOD0(ConnectSignals, void());
+
+ MOCK_METHOD2(Get, void(dbus::PropertyBase* property,
+ dbus::PropertySet::GetCallback callback));
+ MOCK_METHOD0(GetAll, void());
+ MOCK_METHOD2(Set, void(dbus::PropertyBase* property,
+ dbus::PropertySet::SetCallback callback));
+
+ MOCK_METHOD1(ChangedReceived, void(dbus::Signal*));
+ };
+
MockBluetoothManagerClient();
virtual ~MockBluetoothManagerClient();
« no previous file with comments | « chromeos/dbus/mock_bluetooth_input_client.cc ('k') | chromeos/dbus/mock_bluetooth_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698