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

Unified Diff: device/bluetooth/test/mock_bluetooth_adapter.h

Issue 278663002: Implement chrome.bluetoothSocket.listenUsing*() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix BluetoothAdapterMac include typo Created 6 years, 7 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: device/bluetooth/test/mock_bluetooth_adapter.h
diff --git a/device/bluetooth/test/mock_bluetooth_adapter.h b/device/bluetooth/test/mock_bluetooth_adapter.h
index ee03353ad52d390173386e696d8bb72e83655824..ab0e47b9905fd490cd4e316d58ea6ab726bb9709 100644
--- a/device/bluetooth/test/mock_bluetooth_adapter.h
+++ b/device/bluetooth/test/mock_bluetooth_adapter.h
@@ -70,6 +70,17 @@ class MockBluetoothAdapter : public BluetoothAdapter {
MOCK_METHOD1(RemovePairingDelegate,
void(BluetoothDevice::PairingDelegate* pairing_delegate));
MOCK_METHOD0(DefaultPairingDelegate, BluetoothDevice::PairingDelegate*());
+ MOCK_METHOD5(CreateRfcommService,
+ void(const BluetoothUUID& uuid,
+ int channel,
+ bool insecure,
+ const CreateServiceCallback& callback,
+ const CreateServiceErrorCallback& error_callback));
+ MOCK_METHOD4(CreateL2capService,
+ void(const BluetoothUUID& uuid,
+ int psm,
+ const CreateServiceCallback& callback,
+ const CreateServiceErrorCallback& error_callback));
protected:
virtual void AddDiscoverySession(const base::Closure& callback,

Powered by Google App Engine
This is Rietveld 408576698