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

Unified Diff: chrome/test/data/extensions/api_test/bluetooth_low_energy/create_descriptor/runtest.js

Issue 1966893003: IDL changes for BLE GATT server support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: chrome/test/data/extensions/api_test/bluetooth_low_energy/create_descriptor/runtest.js
diff --git a/chrome/test/data/extensions/api_test/bluetooth_low_energy/create_descriptor/runtest.js b/chrome/test/data/extensions/api_test/bluetooth_low_energy/create_descriptor/runtest.js
index 13b1b6969b60920a2f42e8cd66f391e758f59aa8..ff84148cca346c0e9ac889518827b2c7a3ab0520 100644
--- a/chrome/test/data/extensions/api_test/bluetooth_low_energy/create_descriptor/runtest.js
+++ b/chrome/test/data/extensions/api_test/bluetooth_low_energy/create_descriptor/runtest.js
@@ -24,13 +24,14 @@ chrome.bluetoothLowEnergy.createService(service, function(serviceId) {
return;
var characteristic = { uuid: '00001234-0000-1000-8000-00805f9b34fa',
- properties: ['read']};
+ properties: ['read'] };
chrome.bluetoothLowEnergy.createCharacteristic(characteristic, serviceId,
function(characteristicId) {
if (failOnError(characteristicId))
return;
- var descriptor = { uuid: '00001234-0000-1000-8000-00805f9b34fc' };
+ var descriptor = { uuid: '00001234-0000-1000-8000-00805f9b34fc',
+ permissions: ['read'] };
// Invalid characteristic ID.
chrome.bluetoothLowEnergy.createDescriptor(descriptor,
'invalidCharacteristicId', function(descriptorId) {
« no previous file with comments | « chrome/common/extensions/api/bluetooth_low_energy.idl ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698