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

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

Issue 1464443002: bluetooth: android: Add BluetoothDevice::ConnectErrorCode enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: VI Created 4 years, 11 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 11cc7aed9256ba20c187475b261f7c6168ff1d0b..0edff67c6731c6b8b4280c833a469196b834e396 100644
--- a/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js
+++ b/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js
@@ -550,6 +550,27 @@ 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.ConnctResultType.INSUFFICIENT_ENCRYPTION:
Dan Beam 2016/01/11 20:34:05 fail
scheib 2016/01/11 20:35:57 I'll patch now.
Dan Beam 2016/01/11 20:37:37 yeah, I'm just skeptical as to how much testing th
scheib 2016/01/11 20:49:24 Tryjobs as run on patches here, nothing to be skep
+ message = 'bluetoothConnectInsufficientEncryption';
+ break;
+ case chrome.bluetoothPrivate.ConnctResultType.OFFSET_INVALID:
+ message = 'bluetoothConnectOffsetInvalid';
+ break;
+ case chrome.bluetoothPrivate.ConnctResultType.READ_NOT_PERMITTED:
+ message = 'bluetoothConnectReadNotPermitted';
+ break;
+ case chrome.bluetoothPrivate.ConnctResultType.REQUEST_NOT_SUPPORTED:
+ message = 'bluetoothConnectRequestNotSupported';
+ break;
+ case chrome.bluetoothPrivate.ConnctResultType.WRITE_NOT_PERMITTED:
+ message = 'bluetoothConnectWriteNotPermitted';
+ break;
}
if (message)
BluetoothPairing.showMessage({message: message, address: address});

Powered by Google App Engine
This is Rietveld 408576698