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

Unified Diff: device/bluetooth/device.h

Issue 2640073004: bluetooth: Add descriptor list to DeviceDetailsPage on internals page. (Closed)
Patch Set: Add comment to differentiate descriptor return value Created 3 years, 11 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/device.h
diff --git a/device/bluetooth/device.h b/device/bluetooth/device.h
index eeda11f21f7da4084c3424bdfbfc73e742db4947..6458f6683bef9ffa60c3489f13e78ca5533339f7 100644
--- a/device/bluetooth/device.h
+++ b/device/bluetooth/device.h
@@ -15,6 +15,7 @@
#include "device/bluetooth/bluetooth_device.h"
#include "device/bluetooth/bluetooth_gatt_connection.h"
#include "device/bluetooth/bluetooth_remote_gatt_characteristic.h"
+#include "device/bluetooth/bluetooth_remote_gatt_descriptor.h"
#include "device/bluetooth/bluetooth_remote_gatt_service.h"
#include "device/bluetooth/public/interfaces/device.mojom.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
@@ -53,6 +54,9 @@ class Device : public mojom::Device, public device::BluetoothAdapter::Observer {
void GetServices(const GetServicesCallback& callback) override;
void GetCharacteristics(const std::string& service_id,
const GetCharacteristicsCallback& callback) override;
+ void GetDescriptors(const std::string& service_id,
+ const std::string& characteristic_id,
+ const GetDescriptorsCallback& callback) override;
private:
Device(scoped_refptr<device::BluetoothAdapter> adapter,

Powered by Google App Engine
This is Rietveld 408576698