Index: device/bluetooth/bluetooth_adapter.h |
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h |
index 5dcf12f54bd9104841fab75bb62fed94b0ffb951..1b35de42fad3602431577a4d7173701cbb811f6b 100644 |
--- a/device/bluetooth/bluetooth_adapter.h |
+++ b/device/bluetooth/bluetooth_adapter.h |
@@ -260,6 +260,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter |
// is only considered present if the address has been obtained. |
virtual bool IsPresent() const = 0; |
+#if defined(OS_CHROMEOS) |
scheib
2016/04/12 19:20:39
Explain here why this is only ChromeOS.
Andrew T Wilson (Slow)
2016/04/13 13:55:11
Or just make it on all platforms - the API and imp
Ivan Šandrk
2016/04/13 17:19:04
Done.
Ivan Šandrk
2016/04/13 17:19:04
Made it available on all platforms.
scheib
2016/04/13 19:45:41
But not implemented there, thus the try job failur
Ivan Šandrk
2016/04/14 18:08:47
That's a very good point. My apologies for pushing
|
+ // Disables Bluetooth completely without shutting it down. |
+ virtual void SetDisabled(bool disabled) = 0; |
+#endif |
+ |
// Indicates whether the adapter radio is powered. |
virtual bool IsPowered() const = 0; |