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

Unified Diff: chrome/browser/resources/bluetooth_internals/characteristic_list.js

Issue 2649473002: bluetooth: Add control for reading/writing of descriptor values to internals page. (Closed)
Patch Set: Merge upstream 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
« no previous file with comments | « no previous file | chrome/browser/resources/bluetooth_internals/descriptor_list.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/bluetooth_internals/characteristic_list.js
diff --git a/chrome/browser/resources/bluetooth_internals/characteristic_list.js b/chrome/browser/resources/bluetooth_internals/characteristic_list.js
index 7fb7708e975a2728bbe57f89e2e6165282b309af..17f4ebab97cd4b01d153c7bad9156b1c631397aa 100644
--- a/chrome/browser/resources/bluetooth_internals/characteristic_list.js
+++ b/chrome/browser/resources/bluetooth_internals/characteristic_list.js
@@ -113,7 +113,13 @@ cr.define('characteristic_list', function() {
/** @private {!value_control.ValueControl} */
this.valueControl_ = new value_control.ValueControl();
- this.valueControl_.load(this.deviceAddress_, this.serviceId_, this.info);
+
+ this.valueControl_.load({
+ deviceAddress: this.deviceAddress_,
+ serviceId: this.serviceId_,
+ characteristicId: this.info.id,
+ properties: this.info.properties,
+ });
this.valueControl_.setValue(this.info.last_known_value);
/** @private {!descriptor_list.DescriptorList} */
« no previous file with comments | « no previous file | chrome/browser/resources/bluetooth_internals/descriptor_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698