Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1993)

Unified Diff: content/browser/bluetooth/bluetooth_device_chooser_controller.h

Issue 2394423002: bluetooth: Rename blink::mojom::WebBluetoothError (Closed)
Patch Set: bluetooth: Rename blink::mojom::WebBluetoothError Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/bluetooth/bluetooth_device_chooser_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | content/browser/bluetooth/bluetooth_device_chooser_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698