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

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

Issue 369893008: Move the serial API to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing dependency from usb_service to chromeos Created 6 years, 5 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/api/api.gyp ('k') | extensions/extensions.gyp » ('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.serial</code> API to read from and write to a device 5 // Use the <code>chrome.serial</code> API to read from and write to a device
6 // connected to a serial port. 6 // connected to a serial port.
7 namespace serial { 7 namespace serial {
8 8
9 dictionary DeviceInfo { 9 dictionary DeviceInfo {
10 // The device's system path. This should be passed as the <code>path</code> 10 // The device's system path. This should be passed as the <code>path</code>
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // |info| : Event data. 314 // |info| : Event data.
315 static void onReceive(ReceiveInfo info); 315 static void onReceive(ReceiveInfo info);
316 316
317 // Event raised when an error occurred while the runtime was waiting for 317 // Event raised when an error occurred while the runtime was waiting for
318 // data on the serial port. Once this event is raised, the connection may be 318 // data on the serial port. Once this event is raised, the connection may be
319 // set to <code>paused</code>. A <code>"timeout"</code> error does not pause 319 // set to <code>paused</code>. A <code>"timeout"</code> error does not pause
320 // the connection. 320 // the connection.
321 static void onReceiveError(ReceiveErrorInfo info); 321 static void onReceiveError(ReceiveErrorInfo info);
322 }; 322 };
323 }; 323 };
OLDNEW
« no previous file with comments | « extensions/common/api/api.gyp ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698