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

Side by Side Diff: chrome/common/extensions/api/experimental_serial.idl

Issue 9617010: Move chrome.downloads out of experimental to dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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 (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 // File-level comment to appease parser. Eventually this will not be necessary.
6
7 [nodoc] namespace experimental.serial { 5 [nodoc] namespace experimental.serial {
8 6
9 callback GetPortsCallback = void (DOMString[] ports); 7 callback GetPortsCallback = void (DOMString[] ports);
10 8
11 dictionary OpenInfo { 9 dictionary OpenInfo {
12 // The id of the opened connection. 10 // The id of the opened connection.
13 long connectionId; 11 long connectionId;
14 }; 12 };
15 13
16 callback OpenCallback = void (OpenInfo openInfo); 14 callback OpenCallback = void (OpenInfo openInfo);
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 WriteCallback callback); 71 WriteCallback callback);
74 72
75 // Flushes all bytes in the given connection's input and output buffers. 73 // Flushes all bytes in the given connection's input and output buffers.
76 // |connectionId| : The id of the connection. 74 // |connectionId| : The id of the connection.
77 // |callback| : Called when the flush is complete. 75 // |callback| : Called when the flush is complete.
78 static void flush(long connectionId, 76 static void flush(long connectionId,
79 FlushCallback callback); 77 FlushCallback callback);
80 }; 78 };
81 79
82 }; 80 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698