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

Unified Diff: device/bluetooth/bluetooth_adapter.h

Issue 2098653002: device/bluetooth/bluez: add discoverable timeout adapter property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | device/bluetooth/bluetooth_adapter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter.h
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index 87f18ef2c3ef6542594f4ced9808d836dca86267..6137bd4a64a2a9e20d8938565f2a4606217b8f64 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -310,6 +310,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
const base::Closure& callback,
const ErrorCallback& error_callback) = 0;
+#if defined(OS_CHROMEOS) || defined(OS_LINUX)
+ // Returns the timeout after which the adapter exits discoverable mode in
+ // seconds, or zero if the adapter is always discoverable.
+ virtual uint32_t GetDiscoverableTimeout() const = 0;
rkc 2016/06/23 23:53:05 Is this something other platforms may need or is i
+#endif
+
// Indicates whether the adapter is currently discovering new devices.
virtual bool IsDiscovering() const = 0;
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698