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

Unified Diff: chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js

Issue 2727683003: bluetooth: Clean up connection errors (Closed)
Patch Set: merge Created 3 years, 9 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: chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js
diff --git a/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js b/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js
index bf55801940fe76bbc10c84932bd435f2ee8c4add..426de1940f40e96ed27d54fbad08c4f8ae556f92 100644
--- a/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js
+++ b/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js
@@ -562,27 +562,6 @@ cr.define('options', function() {
case chrome.bluetoothPrivate.ConnectResultType.UNSUPPORTED_DEVICE:
message = 'bluetoothConnectUnsupportedDevice';
break;
- case chrome.bluetoothPrivate.ConnectResultType.ATTRIBUTE_LENGTH_INVALID:
- message = 'bluetoothConnectAttributeLengthInvalid';
- break;
- case chrome.bluetoothPrivate.ConnectResultType.CONNECTION_CONGESTED:
- message = 'bluetoothConnectConnectionCongested';
- break;
- case chrome.bluetoothPrivate.ConnectResultType.INSUFFICIENT_ENCRYPTION:
- message = 'bluetoothConnectInsufficientEncryption';
- break;
- case chrome.bluetoothPrivate.ConnectResultType.OFFSET_INVALID:
- message = 'bluetoothConnectOffsetInvalid';
- break;
- case chrome.bluetoothPrivate.ConnectResultType.READ_NOT_PERMITTED:
- message = 'bluetoothConnectReadNotPermitted';
- break;
- case chrome.bluetoothPrivate.ConnectResultType.REQUEST_NOT_SUPPORTED:
- message = 'bluetoothConnectRequestNotSupported';
- break;
- case chrome.bluetoothPrivate.ConnectResultType.WRITE_NOT_PERMITTED:
- message = 'bluetoothConnectWriteNotPermitted';
- break;
}
if (message)
BluetoothPairing.showMessage({message: message, address: address});

Powered by Google App Engine
This is Rietveld 408576698