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

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

Issue 256413003: chrome.bluetoothLowEnergy: Implement getService and getServices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 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: device/bluetooth/test/mock_bluetooth_device.h
diff --git a/device/bluetooth/test/mock_bluetooth_device.h b/device/bluetooth/test/mock_bluetooth_device.h
index 4b8f98668778f1a0094091fbcdac15f94d1edf15..4d910d1b919e7a821d848dc7cde01ace0909f66d 100644
--- a/device/bluetooth/test/mock_bluetooth_device.h
+++ b/device/bluetooth/test/mock_bluetooth_device.h
@@ -73,6 +73,9 @@ class MockBluetoothDevice : public BluetoothDevice {
void(const base::Closure& callback,
const BluetoothDevice::ErrorCallback& error_callback));
+ MOCK_CONST_METHOD0(GetGattServices, std::vector<BluetoothGattService*>());
+ MOCK_CONST_METHOD1(GetGattService, BluetoothGattService*(const std::string&));
+
private:
uint32 bluetooth_class_;
std::string name_;
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_chromeos.cc ('k') | device/bluetooth/test/mock_bluetooth_gatt_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698