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

Unified Diff: chromeos/dbus/mock_bluetooth_adapter_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
Index: chromeos/dbus/mock_bluetooth_adapter_client.h
diff --git a/chromeos/dbus/mock_bluetooth_adapter_client.h b/chromeos/dbus/mock_bluetooth_adapter_client.h
index a823945225c12e53224bef1d6407d7ab87202f1e..c1d5f1e1b21910be76040ae5747f0f1e58bd17a3 100644
--- a/chromeos/dbus/mock_bluetooth_adapter_client.h
+++ b/chromeos/dbus/mock_bluetooth_adapter_client.h
@@ -14,6 +14,21 @@ namespace chromeos {
class MockBluetoothAdapterClient : public BluetoothAdapterClient {
public:
+ struct Properties : public BluetoothAdapterClient::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*));
+ };
+
MockBluetoothAdapterClient();
virtual ~MockBluetoothAdapterClient();
« no previous file with comments | « chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc ('k') | chromeos/dbus/mock_bluetooth_adapter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698