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

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

Issue 1149883011: bluetooth: Browser-side implementation of readValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-get-characteristic-initial
Patch Set: Fix merge conflicts Created 5 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: device/bluetooth/test/mock_bluetooth_gatt_service.h
diff --git a/device/bluetooth/test/mock_bluetooth_gatt_service.h b/device/bluetooth/test/mock_bluetooth_gatt_service.h
index 1ba3deaf58410bc9448d9a7c1e05d0302dbae543..0f36f2861640a59cec69004d9487a807449fd022 100644
--- a/device/bluetooth/test/mock_bluetooth_gatt_service.h
+++ b/device/bluetooth/test/mock_bluetooth_gatt_service.h
@@ -56,6 +56,8 @@ class MockBluetoothGattService : public BluetoothGattService {
void AddMockCharacteristic(
scoped_ptr<MockBluetoothGattCharacteristic> mock_characteristic);
std::vector<BluetoothGattCharacteristic*> GetMockCharacteristics() const;
+ BluetoothGattCharacteristic* GetMockCharacteristic(
+ const std::string& identifier) const;
private:
ScopedVector<MockBluetoothGattCharacteristic> mock_characteristics_;

Powered by Google App Engine
This is Rietveld 408576698