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

Unified Diff: content/renderer/bluetooth/web_bluetooth_impl.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
Index: content/renderer/bluetooth/web_bluetooth_impl.h
diff --git a/content/renderer/bluetooth/web_bluetooth_impl.h b/content/renderer/bluetooth/web_bluetooth_impl.h
index 00658ddf7c62c9213037f1d65bbd803ed46397f0..58696d70e441992d0fb68aa075db9c16cb85a99c 100644
--- a/content/renderer/bluetooth/web_bluetooth_impl.h
+++ b/content/renderer/bluetooth/web_bluetooth_impl.h
@@ -94,34 +94,34 @@ class CONTENT_EXPORT WebBluetoothImpl
// Callbacks for WebBluetoothService calls:
void OnRequestDeviceComplete(
std::unique_ptr<blink::WebBluetoothRequestDeviceCallbacks> callbacks,
- const blink::mojom::WebBluetoothError error,
+ const blink::mojom::WebBluetoothResult result,
blink::mojom::WebBluetoothDevicePtr device);
void OnConnectComplete(
std::unique_ptr<blink::WebBluetoothRemoteGATTServerConnectCallbacks>
callbacks,
- blink::mojom::WebBluetoothError error);
+ blink::mojom::WebBluetoothResult result);
void OnGetPrimaryServicesComplete(
const blink::WebString& device_id,
std::unique_ptr<blink::WebBluetoothGetPrimaryServicesCallbacks> callbacks,
- blink::mojom::WebBluetoothError error,
+ blink::mojom::WebBluetoothResult result,
mojo::Array<blink::mojom::WebBluetoothRemoteGATTServicePtr> services);
void OnGetCharacteristicsComplete(
const blink::WebString& service_instance_id,
std::unique_ptr<blink::WebBluetoothGetCharacteristicsCallbacks> callbacks,
- blink::mojom::WebBluetoothError error,
+ blink::mojom::WebBluetoothResult result,
mojo::Array<blink::mojom::WebBluetoothRemoteGATTCharacteristicPtr>
characteristics);
void OnReadValueComplete(
std::unique_ptr<blink::WebBluetoothReadValueCallbacks> callbacks,
- blink::mojom::WebBluetoothError error,
+ blink::mojom::WebBluetoothResult result,
mojo::Array<uint8_t> value);
void OnWriteValueComplete(
const blink::WebVector<uint8_t>& value,
std::unique_ptr<blink::WebBluetoothWriteValueCallbacks> callbacks,
- blink::mojom::WebBluetoothError error);
+ blink::mojom::WebBluetoothResult result);
void OnStartNotificationsComplete(
std::unique_ptr<blink::WebBluetoothNotificationsCallbacks> callbacks,
- blink::mojom::WebBluetoothError error);
+ blink::mojom::WebBluetoothResult result);
void OnStopNotificationsComplete(
std::unique_ptr<blink::WebBluetoothNotificationsCallbacks> callbacks);
« no previous file with comments | « content/browser/bluetooth/web_bluetooth_service_impl.cc ('k') | content/renderer/bluetooth/web_bluetooth_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698