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

Side by Side Diff: extensions/common/api/bluetooth_socket.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.bluetoothSocket</code> API to send and receive data 5 // Use the <code>chrome.bluetoothSocket</code> API to send and receive data
6 // to Bluetooth devices using RFCOMM and L2CAP connections. 6 // to Bluetooth devices using RFCOMM and L2CAP connections.
7 namespace bluetoothSocket { 7 namespace bluetoothSocket {
8 // The socket properties specified in the $ref:create or $ref:update 8 // The socket properties specified in the $ref:create or $ref:update
9 // function. Each property is optional. If a property value is not specified, 9 // function. Each property is optional. If a property value is not specified,
10 // a default value is used when calling $ref:create, or the existing value is 10 // a default value is used when calling $ref:create, or the existing value is
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 static void onReceive(ReceiveInfo info); 307 static void onReceive(ReceiveInfo info);
308 308
309 // Event raised when a network error occured while the runtime was waiting 309 // Event raised when a network error occured while the runtime was waiting
310 // for data on the socket. Once this event is raised, the socket is set to 310 // for data on the socket. Once this event is raised, the socket is set to
311 // <code>paused</code> and no more <code>onReceive</code> events are raised 311 // <code>paused</code> and no more <code>onReceive</code> events are raised
312 // for this socket. 312 // for this socket.
313 // |info| : The event data. 313 // |info| : The event data.
314 static void onReceiveError(ReceiveErrorInfo info); 314 static void onReceiveError(ReceiveErrorInfo info);
315 }; 315 };
316 }; 316 };
OLDNEW
« no previous file with comments | « extensions/common/api/bluetooth_private.json ('k') | extensions/common/api/extensions_manifest_types.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698