OLD | NEW |
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. | 5 // File-level comment to appease parser. Eventually this will not be necessary. |
6 | 6 |
7 [nodoc] namespace experimental.serial { | 7 [nodoc] namespace experimental.serial { |
8 | 8 |
9 callback GetPortsCallback = void (DOMString[] ports); | 9 callback GetPortsCallback = void (DOMString[] ports); |
10 | 10 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // |data| : The string to write. | 67 // |data| : The string to write. |
68 // |callback| : Called when the string has been written. | 68 // |callback| : Called when the string has been written. |
69 // | 69 // |
70 // TODO(miket): [instanceOf=ArrayBuffer]object data; | 70 // TODO(miket): [instanceOf=ArrayBuffer]object data; |
71 static void write(long connectionId, | 71 static void write(long connectionId, |
72 long[] data, | 72 long[] data, |
73 WriteCallback callback); | 73 WriteCallback callback); |
74 }; | 74 }; |
75 | 75 |
76 }; | 76 }; |
OLD | NEW |