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

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.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: third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h
index 3bdbee488eac95fa6d44650270de6f76f9f3639f..13da332c1627ae53a12a5331fe94792a2f19ecd1 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h
@@ -24,38 +24,38 @@ struct WebRequestDeviceOptions;
// Success and failure callbacks for requestDevice.
using WebBluetoothRequestDeviceCallbacks = WebCallbacks<
std::unique_ptr<WebBluetoothDeviceInit>,
- int32_t /* Corresponds to WebBluetoothError in web_bluetooth.mojom */>;
+ int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */>;
// Success and failure callbacks for GattServer.connect().
using WebBluetoothRemoteGATTServerConnectCallbacks = WebCallbacks<
void,
- int32_t /* Corresponds to WebBluetoothError in web_bluetooth.mojom */>;
+ int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */>;
// Success and failure callbacks for getPrimaryService(s).
using WebBluetoothGetPrimaryServicesCallbacks = WebCallbacks<
const WebVector<WebBluetoothRemoteGATTService*>&,
- int32_t /* Corresponds to WebBluetoothError in web_bluetooth.mojom */>;
+ int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */>;
// Success and failure callbacks for getCharacteristic(s).
using WebBluetoothGetCharacteristicsCallbacks = WebCallbacks<
const WebVector<WebBluetoothRemoteGATTCharacteristicInit*>&,
- int32_t /* Corresponds to WebBluetoothError in web_bluetooth.mojom */>;
+ int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */>;
// Success and failure callbacks for readValue.
using WebBluetoothReadValueCallbacks = WebCallbacks<
const WebVector<uint8_t>&,
- int32_t /* Corresponds to WebBluetoothError in web_bluetooth.mojom */>;
+ int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */>;
// Success and failure callbacks for writeValue.
using WebBluetoothWriteValueCallbacks = WebCallbacks<
const WebVector<uint8_t>&,
- int32_t /* Corresponds to WebBluetoothError in web_bluetooth.mojom */>;
+ int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */>;
// Success and failure callbacks for characteristic.startNotifications and
// characteristic.stopNotifications.
using WebBluetoothNotificationsCallbacks = WebCallbacks<
void,
- int32_t /* Corresponds to WebBluetoothError in web_bluetooth.mojom */>;
+ int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */>;
class WebBluetooth {
public:

Powered by Google App Engine
This is Rietveld 408576698