| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // before completion (in which case onEvent() will eventually be called with | 134 // before completion (in which case onEvent() will eventually be called with |
| 135 // a <code>writeComplete</code> event), or an error occurred. | 135 // a <code>writeComplete</code> event), or an error occurred. |
| 136 static void sendTo(long socketId, | 136 static void sendTo(long socketId, |
| 137 ArrayBuffer data, | 137 ArrayBuffer data, |
| 138 DOMString address, | 138 DOMString address, |
| 139 long port, | 139 long port, |
| 140 SendToCallback callback); | 140 SendToCallback callback); |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 }; | 143 }; |
| OLD | NEW |