OLD | NEW |
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://code.google.com/p/chromium/wiki/ClosureCompilation. | 10 // See https://code.google.com/p/chromium/wiki/ClosureCompilation. |
(...skipping 29 matching lines...) Expand all Loading... |
40 */ | 40 */ |
41 chrome.bluetoothPrivate.ConnectResultType = { | 41 chrome.bluetoothPrivate.ConnectResultType = { |
42 ALREADY_CONNECTED: 'alreadyConnected', | 42 ALREADY_CONNECTED: 'alreadyConnected', |
43 ATTRIBUTE_LENGTH_INVALID: 'attributeLengthInvalid', | 43 ATTRIBUTE_LENGTH_INVALID: 'attributeLengthInvalid', |
44 AUTH_CANCELED: 'authCanceled', | 44 AUTH_CANCELED: 'authCanceled', |
45 AUTH_FAILED: 'authFailed', | 45 AUTH_FAILED: 'authFailed', |
46 AUTH_REJECTED: 'authRejected', | 46 AUTH_REJECTED: 'authRejected', |
47 AUTH_TIMEOUT: 'authTimeout', | 47 AUTH_TIMEOUT: 'authTimeout', |
48 CONNECTION_CONGESTED: 'connectionCongested', | 48 CONNECTION_CONGESTED: 'connectionCongested', |
49 FAILED: 'failed', | 49 FAILED: 'failed', |
| 50 IN_PROGRESS: 'inProgress', |
50 INSUFFICIENT_ENCRYPTION: 'insufficientEncryption', | 51 INSUFFICIENT_ENCRYPTION: 'insufficientEncryption', |
51 IN_PROGRESS: 'inProgress', | |
52 OFFSET_INVALID: 'offsetInvalid', | 52 OFFSET_INVALID: 'offsetInvalid', |
53 READ_NOT_PERMITTED: 'readNotPermitted', | 53 READ_NOT_PERMITTED: 'readNotPermitted', |
54 REQUEST_NOT_SUPPORTED: 'requestNotSupported', | 54 REQUEST_NOT_SUPPORTED: 'requestNotSupported', |
55 SUCCESS: 'success', | 55 SUCCESS: 'success', |
56 UNKNOWN_ERROR: 'unknownError', | 56 UNKNOWN_ERROR: 'unknownError', |
57 UNSUPPORTED_DEVICE: 'unsupportedDevice', | 57 UNSUPPORTED_DEVICE: 'unsupportedDevice', |
58 WRITE_NOT_PERMITTED: 'writeNotPermitted', | 58 WRITE_NOT_PERMITTED: 'writeNotPermitted', |
59 }; | 59 }; |
60 | 60 |
61 /** | 61 /** |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 * @see https://developer.chrome.com/extensions/bluetoothPrivate#method-pair | 178 * @see https://developer.chrome.com/extensions/bluetoothPrivate#method-pair |
179 */ | 179 */ |
180 chrome.bluetoothPrivate.pair = function(deviceAddress, callback) {}; | 180 chrome.bluetoothPrivate.pair = function(deviceAddress, callback) {}; |
181 | 181 |
182 /** | 182 /** |
183 * Fired when a pairing event occurs. | 183 * Fired when a pairing event occurs. |
184 * @type {!ChromeEvent} | 184 * @type {!ChromeEvent} |
185 * @see https://developer.chrome.com/extensions/bluetoothPrivate#event-onPairing | 185 * @see https://developer.chrome.com/extensions/bluetoothPrivate#event-onPairing |
186 */ | 186 */ |
187 chrome.bluetoothPrivate.onPairing; | 187 chrome.bluetoothPrivate.onPairing; |
OLD | NEW |