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

Side by Side Diff: third_party/closure_compiler/externs/bluetooth_private.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file was generated by: 5 // This file was generated by:
6 // ./tools/json_schema_compiler/compiler.py. 6 // ./tools/json_schema_compiler/compiler.py.
7 // NOTE: The format of types has changed. 'FooType' is now 7 // NOTE: The format of types has changed. 'FooType' is now
8 // 'chrome.bluetoothPrivate.FooType'. 8 // 'chrome.bluetoothPrivate.FooType'.
9 // Please run the closure compiler before committing changes. 9 // Please run the closure compiler before committing changes.
10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp ilation.md 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp ilation.md
(...skipping 22 matching lines...) Expand all
33 REQUEST_AUTHORIZATION: 'requestAuthorization', 33 REQUEST_AUTHORIZATION: 'requestAuthorization',
34 COMPLETE: 'complete', 34 COMPLETE: 'complete',
35 }; 35 };
36 36
37 /** 37 /**
38 * @enum {string} 38 * @enum {string}
39 * @see https://developer.chrome.com/extensions/bluetoothPrivate#type-ConnectRes ultType 39 * @see https://developer.chrome.com/extensions/bluetoothPrivate#type-ConnectRes ultType
40 */ 40 */
41 chrome.bluetoothPrivate.ConnectResultType = { 41 chrome.bluetoothPrivate.ConnectResultType = {
42 ALREADY_CONNECTED: 'alreadyConnected', 42 ALREADY_CONNECTED: 'alreadyConnected',
43 ATTRIBUTE_LENGTH_INVALID: 'attributeLengthInvalid',
44 AUTH_CANCELED: 'authCanceled', 43 AUTH_CANCELED: 'authCanceled',
45 AUTH_FAILED: 'authFailed', 44 AUTH_FAILED: 'authFailed',
46 AUTH_REJECTED: 'authRejected', 45 AUTH_REJECTED: 'authRejected',
47 AUTH_TIMEOUT: 'authTimeout', 46 AUTH_TIMEOUT: 'authTimeout',
48 CONNECTION_CONGESTED: 'connectionCongested',
49 FAILED: 'failed', 47 FAILED: 'failed',
50 IN_PROGRESS: 'inProgress', 48 IN_PROGRESS: 'inProgress',
51 INSUFFICIENT_ENCRYPTION: 'insufficientEncryption',
52 OFFSET_INVALID: 'offsetInvalid',
53 READ_NOT_PERMITTED: 'readNotPermitted',
54 REQUEST_NOT_SUPPORTED: 'requestNotSupported',
55 SUCCESS: 'success', 49 SUCCESS: 'success',
56 UNKNOWN_ERROR: 'unknownError', 50 UNKNOWN_ERROR: 'unknownError',
57 UNSUPPORTED_DEVICE: 'unsupportedDevice', 51 UNSUPPORTED_DEVICE: 'unsupportedDevice',
58 WRITE_NOT_PERMITTED: 'writeNotPermitted',
59 }; 52 };
60 53
61 /** 54 /**
62 * @enum {string} 55 * @enum {string}
63 * @see https://developer.chrome.com/extensions/bluetoothPrivate#type-PairingRes ponse 56 * @see https://developer.chrome.com/extensions/bluetoothPrivate#type-PairingRes ponse
64 */ 57 */
65 chrome.bluetoothPrivate.PairingResponse = { 58 chrome.bluetoothPrivate.PairingResponse = {
66 CONFIRM: 'confirm', 59 CONFIRM: 'confirm',
67 REJECT: 'reject', 60 REJECT: 'reject',
68 CANCEL: 'cancel', 61 CANCEL: 'cancel',
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 * @see https://developer.chrome.com/extensions/bluetoothPrivate#method-pair 171 * @see https://developer.chrome.com/extensions/bluetoothPrivate#method-pair
179 */ 172 */
180 chrome.bluetoothPrivate.pair = function(deviceAddress, callback) {}; 173 chrome.bluetoothPrivate.pair = function(deviceAddress, callback) {};
181 174
182 /** 175 /**
183 * Fired when a pairing event occurs. 176 * Fired when a pairing event occurs.
184 * @type {!ChromeEvent} 177 * @type {!ChromeEvent}
185 * @see https://developer.chrome.com/extensions/bluetoothPrivate#event-onPairing 178 * @see https://developer.chrome.com/extensions/bluetoothPrivate#event-onPairing
186 */ 179 */
187 chrome.bluetoothPrivate.onPairing; 180 chrome.bluetoothPrivate.onPairing;
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698