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

Unified Diff: device/bluetooth/bluetooth_advertisement.h

Issue 2353133005: Add the chrome.bluetoothLowEnergy.setAdvertisingInterval API. (Closed)
Patch Set: . Created 4 years, 3 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/bluetooth_advertisement.h
diff --git a/device/bluetooth/bluetooth_advertisement.h b/device/bluetooth/bluetooth_advertisement.h
index ebd9ee8fd12c92ad0a58243431da27aaa17f9d2b..412baa72eebf45e0d726532d5e51a53a2a4d882b 100644
--- a/device/bluetooth/bluetooth_advertisement.h
+++ b/device/bluetooth/bluetooth_advertisement.h
@@ -37,6 +37,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdvertisement
// is not registered.
ERROR_ADVERTISEMENT_INVALID_LENGTH, // Advertisement is not of a valid
// length.
+#if defined(OS_CHROMEOS) || defined(OS_LINUX)
+ ERROR_INVALID_ADVERTISEMENT_INTERVAL, // Advertisement interval specified
+ // is out of valid range.
+#endif
INVALID_ADVERTISEMENT_ERROR_CODE
};

Powered by Google App Engine
This is Rietveld 408576698