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

Side by Side Diff: extensions/common/api/bluetooth.idl

Issue 420663003: Extensions: Move bluetooth APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, gn Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « extensions/common/DEPS ('k') | extensions/common/api/bluetooth/bluetooth_manifest_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Use the <code>chrome.bluetooth</code> API to connect to a Bluetooth 5 // Use the <code>chrome.bluetooth</code> API to connect to a Bluetooth
6 // device. All functions report failures via chrome.runtime.lastError. 6 // device. All functions report failures via chrome.runtime.lastError.
7 namespace bluetooth { 7 namespace bluetooth {
8 // Allocation authorities for Vendor IDs. 8 // Allocation authorities for Vendor IDs.
9 enum VendorIdSource {bluetooth, usb}; 9 enum VendorIdSource {bluetooth, usb};
10 10
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 // Fired when information about a known Bluetooth device has changed. 148 // Fired when information about a known Bluetooth device has changed.
149 static void onDeviceChanged(Device device); 149 static void onDeviceChanged(Device device);
150 150
151 // Fired when a Bluetooth device that was previously discovered has been 151 // Fired when a Bluetooth device that was previously discovered has been
152 // out of range for long enough to be considered unavailable again, and 152 // out of range for long enough to be considered unavailable again, and
153 // when a paired device is removed. 153 // when a paired device is removed.
154 static void onDeviceRemoved(Device device); 154 static void onDeviceRemoved(Device device);
155 }; 155 };
156 }; 156 };
OLDNEW
« no previous file with comments | « extensions/common/DEPS ('k') | extensions/common/api/bluetooth/bluetooth_manifest_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698