| Index: device/bluetooth/bluetooth_adapter_chromeos.h
|
| diff --git a/device/bluetooth/bluetooth_adapter_chromeos.h b/device/bluetooth/bluetooth_adapter_chromeos.h
|
| index 87518bdbbda2c5375f4c0326e6cca6eb99e5d417..7e1e50ebd12e38efc78f4df68f7f4cb8d3729662 100644
|
| --- a/device/bluetooth/bluetooth_adapter_chromeos.h
|
| +++ b/device/bluetooth/bluetooth_adapter_chromeos.h
|
| @@ -27,6 +27,9 @@ namespace chromeos {
|
| class BluetoothChromeOSTest;
|
| class BluetoothDeviceChromeOS;
|
| class BluetoothPairingChromeOS;
|
| +class BluetoothRemoteGattCharacteristicChromeOS;
|
| +class BluetoothRemoteGattDescriptorChromeOS;
|
| +class BluetoothRemoteGattServiceChromeOS;
|
|
|
| // The BluetoothAdapterChromeOS class implements BluetoothAdapter for the
|
| // Chrome OS platform.
|
| @@ -82,6 +85,27 @@ class BluetoothAdapterChromeOS
|
| // its D-Bus properties.
|
| void NotifyDeviceChanged(BluetoothDeviceChromeOS* device);
|
|
|
| + // The following methods are used to send various GATT observer events to
|
| + // observers.
|
| + void NotifyGattServiceAdded(BluetoothRemoteGattServiceChromeOS* service);
|
| + void NotifyGattServiceRemoved(BluetoothRemoteGattServiceChromeOS* service);
|
| + void NotifyGattServiceChanged(BluetoothRemoteGattServiceChromeOS* service);
|
| + void NotifyGattDiscoveryComplete(BluetoothRemoteGattServiceChromeOS* service);
|
| + void NotifyGattCharacteristicAdded(
|
| + BluetoothRemoteGattCharacteristicChromeOS* characteristic);
|
| + void NotifyGattCharacteristicRemoved(
|
| + BluetoothRemoteGattCharacteristicChromeOS* characteristic);
|
| + void NotifyGattDescriptorAdded(
|
| + BluetoothRemoteGattDescriptorChromeOS* descriptor);
|
| + void NotifyGattDescriptorRemoved(
|
| + BluetoothRemoteGattDescriptorChromeOS* descriptor);
|
| + void NotifyGattCharacteristicValueChanged(
|
| + BluetoothRemoteGattCharacteristicChromeOS* characteristic,
|
| + const std::vector<uint8>& value);
|
| + void NotifyGattDescriptorValueChanged(
|
| + BluetoothRemoteGattDescriptorChromeOS* descriptor,
|
| + const std::vector<uint8>& value);
|
| +
|
| // Returns the object path of the adapter.
|
| const dbus::ObjectPath& object_path() const { return object_path_; }
|
|
|
|
|