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.socket { | 7 [nodoc] namespace experimental.socket { |
8 // The socket options. | 8 // The socket options. |
9 dictionary CreateOptions { | 9 dictionary CreateOptions { |
10 // The schema generator does not support dictionaries without any fields. | 10 // The schema generator does not support dictionaries without any fields. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // before completion (in which case onEvent() will eventually be called with | 141 // before completion (in which case onEvent() will eventually be called with |
142 // a <code>writeComplete</code> event), or an error occurred. | 142 // a <code>writeComplete</code> event), or an error occurred. |
143 static void sendTo(long socketId, | 143 static void sendTo(long socketId, |
144 long[] data, | 144 long[] data, |
145 DOMString address, | 145 DOMString address, |
146 long port, | 146 long port, |
147 SendToCallback callback); | 147 SendToCallback callback); |
148 }; | 148 }; |
149 | 149 |
150 }; | 150 }; |
OLD | NEW |