| Index: content/renderer/bluetooth/bluetooth_dispatcher.h
|
| diff --git a/content/renderer/bluetooth/bluetooth_dispatcher.h b/content/renderer/bluetooth/bluetooth_dispatcher.h
|
| index 4886ef1e5b0aee949af0b7abb25d7764609e41d0..3dd5a11d4fa9ea383baede46f573297c54f3c580 100644
|
| --- a/content/renderer/bluetooth/bluetooth_dispatcher.h
|
| +++ b/content/renderer/bluetooth/bluetooth_dispatcher.h
|
| @@ -23,16 +23,10 @@ class MessageLoop;
|
| class TaskRunner;
|
| }
|
|
|
| -namespace blink {
|
| -class WebBluetoothRemoteGATTCharacteristic;
|
| -}
|
| -
|
| namespace IPC {
|
| class Message;
|
| }
|
|
|
| -struct BluetoothCharacteristicRequest;
|
| -struct BluetoothCharacteristicsRequest;
|
| struct BluetoothPrimaryServiceRequest;
|
|
|
| namespace content {
|
| @@ -73,16 +67,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
|
| const blink::WebString& device_id,
|
| const blink::WebString& service_uuid,
|
| blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks);
|
| - void getCharacteristic(
|
| - int frame_routing_id,
|
| - const blink::WebString& service_instance_id,
|
| - const blink::WebString& characteristic_uuid,
|
| - blink::WebBluetoothGetCharacteristicCallbacks* callbacks);
|
| - void getCharacteristics(
|
| - int frame_routing_id,
|
| - const blink::WebString& service_instance_id,
|
| - const blink::WebString& characteristics_uuid,
|
| - blink::WebBluetoothGetCharacteristicsCallbacks* callbacks);
|
|
|
| // WorkerThread::Observer implementation.
|
| void WillStopCurrentWorkerThread() override;
|
| @@ -105,22 +89,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
|
| void OnGetPrimaryServiceError(int thread_id,
|
| int request_id,
|
| blink::WebBluetoothError error);
|
| - void OnGetCharacteristicSuccess(int thread_id,
|
| - int request_id,
|
| - const std::string& characteristic_instance_id,
|
| - uint32_t characteristic_properties);
|
| - void OnGetCharacteristicError(int thread_id,
|
| - int request_id,
|
| - blink::WebBluetoothError error);
|
| - void OnGetCharacteristicsSuccess(
|
| - int thread_id,
|
| - int request_id,
|
| - const std::vector<std::string>& characteristics_instance_ids,
|
| - const std::vector<std::string>& characteristics_uuids,
|
| - const std::vector<uint32_t>& characteristic_properties);
|
| - void OnGetCharacteristicsError(int thread_id,
|
| - int request_id,
|
| - blink::WebBluetoothError error);
|
|
|
| scoped_refptr<ThreadSafeSender> thread_safe_sender_;
|
|
|
| @@ -136,12 +104,6 @@ class BluetoothDispatcher : public WorkerThread::Observer {
|
| // Owns request objects.
|
| IDMap<BluetoothPrimaryServiceRequest, IDMapOwnPointer>
|
| pending_primary_service_requests_;
|
| - // Tracks requests to get a characteristic from a service.
|
| - IDMap<BluetoothCharacteristicRequest, IDMapOwnPointer>
|
| - pending_characteristic_requests_;
|
| - // Tracks requests to get characteristics from a service.
|
| - IDMap<BluetoothCharacteristicsRequest, IDMapOwnPointer>
|
| - pending_characteristics_requests_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BluetoothDispatcher);
|
| };
|
|
|