| Index: content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.h b/content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| index 5fe1f90a00bdb32f6b7500ee6ca22cac975be6e4..6f8dc21630998fdb29c4887bcb324be6130061a0 100644
|
| --- a/content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| +++ b/content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| @@ -207,20 +207,17 @@ class CONTENT_EXPORT BluetoothDispatcherHost final
|
| // was already recorded and since there renderer crashed there is no need to
|
| // send a response.
|
|
|
| - // Queries the platform cache for a Device with |device_id|. If
|
| - // successful the device will be in result.device
|
| - void QueryCacheForDevice(const std::string& device_id,
|
| - CacheQueryResult& result);
|
| - // Queries the platform cache for a Service with |service_instance_id|.
|
| - // If successfull the service will be in result.service.
|
| - void QueryCacheForService(const std::string& service_instance_id,
|
| - CacheQueryResult& result);
|
| + // Queries the platform cache for a Device with |device_id|. Fills in the
|
| + // |outcome| field and the |device| field if successful.
|
| + CacheQueryResult QueryCacheForDevice(const std::string& device_id);
|
| + // Queries the platform cache for a Service with |service_instance_id|. Fills
|
| + // in the |outcome| field, and |device| and |service| fields if successful.
|
| + CacheQueryResult QueryCacheForService(const std::string& service_instance_id);
|
| // Queries the platform cache for a characteristic with
|
| - // |characteristic_instance_id|. If successfull the characteristic will be in
|
| - // result.characteristic.
|
| - void QueryCacheForCharacteristic(
|
| - const std::string& characteristic_instance_id,
|
| - CacheQueryResult& result);
|
| + // |characteristic_instance_id|. Fills in the |outcome| field, and |device|,
|
| + // |service| and |characteristic| fields if successful.
|
| + CacheQueryResult QueryCacheForCharacteristic(
|
| + const std::string& characteristic_instance_id);
|
|
|
| // Returns true if all services have been discovered for the device.
|
| // When the host gets a ServiceChanged indication, it automatically
|
|
|