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

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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Writes a string to the given connection. 61 // Writes a string to the given connection.
64 // |connectionId| : The id of the connection. 62 // |connectionId| : The id of the connection.
65 // |data| : The string to write. 63 // |data| : The string to write.
66 // |callback| : Called when the string has been written. 64 // |callback| : Called when the string has been written.
67 static void write(long connectionId, 65 static void write(long connectionId,
68 ArrayBuffer data, 66 ArrayBuffer data,
69 WriteCallback callback); 67 WriteCallback callback);
70 }; 68 };
71 69
72 }; 70 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698