Index: device/bluetooth/dbus/bluetooth_device_client.h |
diff --git a/device/bluetooth/dbus/bluetooth_device_client.h b/device/bluetooth/dbus/bluetooth_device_client.h |
index 676b44a86bb06f8b63988d2c5cad62d3e64c15f4..c157d379f406f8ca4f462f2812109216f0d3a125 100644 |
--- a/device/bluetooth/dbus/bluetooth_device_client.h |
+++ b/device/bluetooth/dbus/bluetooth_device_client.h |
@@ -13,6 +13,7 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "base/observer_list.h" |
+#include "base/optional.h" |
#include "base/values.h" |
#include "dbus/object_path.h" |
#include "dbus/property.h" |
@@ -185,9 +186,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceClient : public BluezDBusClient { |
// The callback invoked for a successful GetConnInfo API call with the |
// RSSI, TX power, and maximum TX power of the current connection. |
- typedef base::Callback<void(int16_t rssi, |
- int16_t transmit_power, |
- int16_t max_transmit_power)> ConnInfoCallback; |
+ typedef base::Callback<void( |
+ const base::Optional<int16_t>& rssi, |
+ const base::Optional<int16_t>& transmit_power, |
+ const base::Optional<int16_t>& max_transmit_power)> |
+ ConnInfoCallback; |
// Returns the RSSI, TX power, and maximum TX power of a connection to the |
// device with object path |object_path|. If the device is not connected, then |