
Change log:95336cb92b..191d55580e
Full diff:95336cb92b..191d55580e
Roll chromium third_party 4e16929f46..3a8f2a9e1e Change log:4e16929f46..3a8f2a9e1e
Changed dependencies: * src/tools:c44a3f5eca..f524a53b81
DEPS diff:95336cb92b..191d55580e
/DEPS No update to Clang. TBR=titovartem@google.com, BUG=None CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal Change-Id: Ic9c4a62b050383646e9fcf5cc07a5653c14ac06e Reviewed-on: https://webrtc-review.googlesource.com/76120 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23205}
81 lines
2.7 KiB
JavaScript
81 lines
2.7 KiB
JavaScript
// Copyright 2016 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// This file was generated by:
|
|
// ./tools/json_schema_compiler/compiler.py.
|
|
|
|
/** @fileoverview Interface for bluetoothPrivate that can be overriden. */
|
|
|
|
assertNotReached('Interface file for Closure Compiler should not be executed.');
|
|
|
|
/** @interface */
|
|
function BluetoothPrivate() {}
|
|
|
|
BluetoothPrivate.prototype = {
|
|
/**
|
|
* Changes the state of the Bluetooth adapter.
|
|
* @param {!chrome.bluetoothPrivate.NewAdapterState} adapterState
|
|
* @param {function():void=} callback
|
|
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-setAdapterState
|
|
*/
|
|
setAdapterState: assertNotReached,
|
|
|
|
/**
|
|
* @param {!chrome.bluetoothPrivate.SetPairingResponseOptions} options
|
|
* @param {function():void=} callback
|
|
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-setPairingResponse
|
|
*/
|
|
setPairingResponse: assertNotReached,
|
|
|
|
/**
|
|
* Tears down all connections to the given device.
|
|
* @param {string} deviceAddress
|
|
* @param {function():void=} callback
|
|
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-disconnectAll
|
|
*/
|
|
disconnectAll: assertNotReached,
|
|
|
|
/**
|
|
* Forgets the given device.
|
|
* @param {string} deviceAddress
|
|
* @param {function():void=} callback
|
|
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-forgetDevice
|
|
*/
|
|
forgetDevice: assertNotReached,
|
|
|
|
/**
|
|
* Set or clear discovery filter.
|
|
* @param {!chrome.bluetoothPrivate.DiscoveryFilter} discoveryFilter
|
|
* @param {function():void=} callback
|
|
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-setDiscoveryFilter
|
|
*/
|
|
setDiscoveryFilter: assertNotReached,
|
|
|
|
/**
|
|
* Connects to the given device. This will only throw an error if the device
|
|
* address is invalid or the device is already connected. Otherwise this will
|
|
* succeed and invoke |callback| with ConnectResultType.
|
|
* @param {string} deviceAddress
|
|
* @param {function(!chrome.bluetoothPrivate.ConnectResultType):void=}
|
|
* callback
|
|
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-connect
|
|
*/
|
|
connect: assertNotReached,
|
|
|
|
/**
|
|
* Pairs the given device.
|
|
* @param {string} deviceAddress
|
|
* @param {function():void=} callback
|
|
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-pair
|
|
*/
|
|
pair: assertNotReached,
|
|
};
|
|
|
|
/**
|
|
* Fired when a pairing event occurs.
|
|
* @type {!ChromeEvent}
|
|
* @see https://developer.chrome.com/extensions/bluetoothPrivate#event-onPairing
|
|
*/
|
|
BluetoothPrivate.prototype.onPairing;
|