| Index: chrome/browser/chromeos/bluetooth/bluetooth_adapter.h
|
| diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_adapter.h b/chrome/browser/chromeos/bluetooth/bluetooth_adapter.h
|
| index 5c4f82fde902cbfe3c25241d90a6eed08249c632..6105eca0e046f7453c38a26eae25d4d9b7a71f9d 100644
|
| --- a/chrome/browser/chromeos/bluetooth/bluetooth_adapter.h
|
| +++ b/chrome/browser/chromeos/bluetooth/bluetooth_adapter.h
|
| @@ -91,6 +91,10 @@ class BluetoothAdapter : private BluetoothManagerClient::Observer,
|
| // is called, in the success case the callback is simply not called.
|
| typedef base::Callback<void()> ErrorCallback;
|
|
|
| + // The address of this adapter. The address format is "XX:XX:XX:XX:XX:XX",
|
| + // where each XX is a hexadecimal number.
|
| + const std::string& address() const { return address_; }
|
| +
|
| // Indicates whether the adapter is actually present on the system, for
|
| // the default adapter this indicates whether any adapter is present.
|
| bool IsPresent() const;
|
| @@ -274,6 +278,9 @@ class BluetoothAdapter : private BluetoothManagerClient::Observer,
|
| bool track_default_;
|
| dbus::ObjectPath object_path_;
|
|
|
| + // Address of the adapter.
|
| + std::string address_;
|
| +
|
| // Tracked adapter state, cached locally so we only send change notifications
|
| // to observers on a genuine change.
|
| bool powered_;
|
|
|