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

Unified Diff: chromeos/dbus/mock_bluetooth_adapter_client.h

Issue 10546010: Implement support for the OOB Pairing APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 4c7e389e672d122e35cff8b5f7cb3804acba879e..f850f5fbf63bb638d9e474e5bc475d245c5b7592 100644
--- a/chromeos/dbus/mock_bluetooth_adapter_client.h
+++ b/chromeos/dbus/mock_bluetooth_adapter_client.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/memory/scoped_ptr.h"
#include "chromeos/dbus/bluetooth_adapter_client.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -52,6 +53,18 @@ class MockBluetoothAdapterClient : public BluetoothAdapterClient {
MOCK_METHOD3(UnregisterAgent, void(const dbus::ObjectPath&,
const dbus::ObjectPath&,
const AdapterCallback&));
+ MOCK_METHOD2(ReadLocalOutOfBandPairingData,
+ void(const dbus::ObjectPath&,
+ const OutOfBandPairingDataCallback&));
+ MOCK_METHOD4(AddRemoteOutOfBandPairingData,
+ void(const dbus::ObjectPath&,
+ const std::string&,
+ const OutOfBandPairingData&,
+ const AdapterCallback&));
+ MOCK_METHOD3(RemoveRemoteOutOfBandPairingData,
+ void(const dbus::ObjectPath&,
+ const std::string&,
+ const AdapterCallback&));
};
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698