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

Unified Diff: content/browser/bluetooth/cache_query_result.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/browser/bluetooth/cache_query_result.h
diff --git a/content/browser/bluetooth/cache_query_result.h b/content/browser/bluetooth/cache_query_result.h
index 6f187dbc44c0dc42144b0a7f0ddcd6b536915e93..19c202f5f4bd202d2b8fef5a86c5e087a1487031 100644
--- a/content/browser/bluetooth/cache_query_result.h
+++ b/content/browser/bluetooth/cache_query_result.h
@@ -27,21 +27,22 @@ struct CacheQueryResult {
~CacheQueryResult() {}
- blink::mojom::WebBluetoothError GetWebError() const {
+ blink::mojom::WebBluetoothResult GetWebResult() const {
switch (outcome) {
case CacheQueryOutcome::SUCCESS:
case CacheQueryOutcome::BAD_RENDERER:
NOTREACHED();
- return blink::mojom::WebBluetoothError::DEVICE_NO_LONGER_IN_RANGE;
+ return blink::mojom::WebBluetoothResult::DEVICE_NO_LONGER_IN_RANGE;
case CacheQueryOutcome::NO_DEVICE:
- return blink::mojom::WebBluetoothError::DEVICE_NO_LONGER_IN_RANGE;
+ return blink::mojom::WebBluetoothResult::DEVICE_NO_LONGER_IN_RANGE;
case CacheQueryOutcome::NO_SERVICE:
- return blink::mojom::WebBluetoothError::SERVICE_NO_LONGER_EXISTS;
+ return blink::mojom::WebBluetoothResult::SERVICE_NO_LONGER_EXISTS;
case CacheQueryOutcome::NO_CHARACTERISTIC:
- return blink::mojom::WebBluetoothError::CHARACTERISTIC_NO_LONGER_EXISTS;
+ return blink::mojom::WebBluetoothResult::
+ CHARACTERISTIC_NO_LONGER_EXISTS;
}
NOTREACHED();
- return blink::mojom::WebBluetoothError::DEVICE_NO_LONGER_IN_RANGE;
+ return blink::mojom::WebBluetoothResult::DEVICE_NO_LONGER_IN_RANGE;
}
device::BluetoothDevice* device = nullptr;

Powered by Google App Engine
This is Rietveld 408576698