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

Unified Diff: chromeos/dbus/fake_bluetooth_gatt_characteristic_client.h

Issue 788193004: chromeos/dbus: Update Bluetooth GATT API clients to upstream definition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/fake_bluetooth_gatt_characteristic_client.h
diff --git a/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.h b/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.h
index cba953be0c6403c772be2052bcd745a7acf05afa..c10910a96cdb457b69d3741893e3046c34b080e1 100644
--- a/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.h
+++ b/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.h
@@ -129,6 +129,12 @@ class CHROMEOS_EXPORT FakeBluetoothGattCharacteristicClient
// is a random value within a reasonable range.
std::vector<uint8> GetHeartRateMeasurementValue();
+ // Callback that executes a delayed ReadValue action by updating the
+ // appropriate "Value" property and invoking the ValueCallback.
+ void DelayedReadValueCallback(const dbus::ObjectPath& object_path,
+ const ValueCallback& callback,
+ const std::vector<uint8_t>& value);
+
// If true, characteristics of the Heart Rate Service are visible. Use
// IsHeartRateVisible() to check the value.
bool heart_rate_visible_;

Powered by Google App Engine
This is Rietveld 408576698