| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 patch class _BufferUtils { | 5 patch class _BufferUtils { |
| 6 patch static bool _isBuiltinList(List buffer) { | 6 patch static bool _isBuiltinList(List buffer) { |
| 7 throw new UnsupportedError("_isBuiltinList"); | 7 throw new UnsupportedError("_isBuiltinList"); |
| 8 } | 8 } |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 patch class ServerSocket { | 160 patch class ServerSocket { |
| 161 patch factory ServerSocket(String bindAddress, int port, int backlog) { | 161 patch factory ServerSocket(String bindAddress, int port, int backlog) { |
| 162 return new _ServerSocket(bindAddress, port, backlog); | 162 return new _ServerSocket(bindAddress, port, backlog); |
| 163 } | 163 } |
| 164 } | 164 } |
| 165 | 165 |
| 166 patch class Socket { | 166 patch class Socket { |
| 167 patch factory Socket(String host, int port) => new _Socket(host, port); | 167 patch factory Socket(String host, int port) => new _Socket(host, port); |
| 168 } | 168 } |
| 169 | 169 |
| 170 patch class TlsSocket { |
| 171 patch factory TlsSocket(String host, int port) => new _TlsSocket(host, port); |
| 172 } |
| 173 |
| 170 patch class _StdIOUtils { | 174 patch class _StdIOUtils { |
| 171 patch static _getStdioHandle(Socket socket, int num) { | 175 patch static _getStdioHandle(Socket socket, int num) { |
| 172 throw new UnsupportedError("StdIOUtils._getStdioHandle"); | 176 throw new UnsupportedError("StdIOUtils._getStdioHandle"); |
| 173 } | 177 } |
| 174 patch static _getStdioHandleType(int num) { | 178 patch static _getStdioHandleType(int num) { |
| 175 throw new UnsupportedError("StdIOUtils._getStdioHandleType"); | 179 throw new UnsupportedError("StdIOUtils._getStdioHandleType"); |
| 176 } | 180 } |
| 177 } | 181 } |
| OLD | NEW |