| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 class _ReceivePortFactory { | 5 class _ReceivePortFactory { |
| 6 factory ReceivePort() { | 6 factory ReceivePort() { |
| 7 return new _ReceivePortImpl(); | 7 return new _ReceivePortImpl(); |
| 8 } | 8 } |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 ReceivePort get _port() { | 137 ReceivePort get _port() { |
| 138 if (_portInternal === null) { | 138 if (_portInternal === null) { |
| 139 _portInternal = _getPortInternal(); | 139 _portInternal = _getPortInternal(); |
| 140 } | 140 } |
| 141 return _portInternal; | 141 return _portInternal; |
| 142 } | 142 } |
| 143 | 143 |
| 144 _spawnFunction(void topLevelFunction()) native "isolate_spawnFunction"; | 144 _spawnFunction(void topLevelFunction()) native "isolate_spawnFunction"; |
| 145 | 145 |
| 146 _spawnUri(String uri) native "isolate_spawnUri"; | 146 // TODO(sigmund,turnidge): implement |
| 147 SendPort _spawnUri(String uri) { |
| 148 throw new NotImplementedException(); |
| 149 } |
| OLD | NEW |