| Index: content/browser/bluetooth/bluetooth_device_chooser_controller.h
|
| diff --git a/content/browser/bluetooth/bluetooth_device_chooser_controller.h b/content/browser/bluetooth/bluetooth_device_chooser_controller.h
|
| index b9e21cc55689db5dee842442b57243593c81dcb2..92c55cf4e5bd8ebec4bbe5ad3d0c42ef80bb86af 100644
|
| --- a/content/browser/bluetooth/bluetooth_device_chooser_controller.h
|
| +++ b/content/browser/bluetooth/bluetooth_device_chooser_controller.h
|
| @@ -35,7 +35,7 @@ class CONTENT_EXPORT BluetoothDeviceChooserController final {
|
| typedef base::Callback<void(blink::mojom::WebBluetoothRequestDeviceOptionsPtr,
|
| const std::string& device_address)>
|
| SuccessCallback;
|
| - typedef base::Callback<void(blink::mojom::WebBluetoothError error)>
|
| + typedef base::Callback<void(blink::mojom::WebBluetoothResult result)>
|
| ErrorCallback;
|
|
|
| // |web_bluetooth_service_| service that owns this class.
|
| @@ -112,7 +112,7 @@ class CONTENT_EXPORT BluetoothDeviceChooserController final {
|
| // Helper function to asynchronously run success_callback_.
|
| void PostSuccessCallback(const std::string& device_address);
|
| // Helper function to asynchronously run error_callback_.
|
| - void PostErrorCallback(blink::mojom::WebBluetoothError error);
|
| + void PostErrorCallback(blink::mojom::WebBluetoothResult result);
|
|
|
| // If true all new instances of this class will have a scan duration of 0.
|
| static bool use_test_scan_duration_;
|
|
|