| 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 import "dart:collection" show HashMap; | 5 import "dart:collection" show HashMap; |
| 6 | 6 |
| 7 patch class ReceivePort { | 7 patch class ReceivePort { |
| 8 /* patch */ factory ReceivePort() = _ReceivePortImpl; | 8 /* patch */ factory ReceivePort() = _ReceivePortImpl; |
| 9 | 9 |
| 10 /* patch */ factory ReceivePort.fromRawReceivePort(RawReceivePort rawPort) = | 10 /* patch */ factory ReceivePort.fromRawReceivePort(RawReceivePort rawPort) = |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 } | 266 } |
| 267 | 267 |
| 268 static final RawReceivePort _self = _mainPort; | 268 static final RawReceivePort _self = _mainPort; |
| 269 static RawReceivePort get _mainPort native "Isolate_mainPort"; | 269 static RawReceivePort get _mainPort native "Isolate_mainPort"; |
| 270 | 270 |
| 271 static SendPort _spawnFunction(Function topLevelFunction) | 271 static SendPort _spawnFunction(Function topLevelFunction) |
| 272 native "Isolate_spawnFunction"; | 272 native "Isolate_spawnFunction"; |
| 273 | 273 |
| 274 static SendPort _spawnUri(String uri) native "Isolate_spawnUri"; | 274 static SendPort _spawnUri(String uri) native "Isolate_spawnUri"; |
| 275 } | 275 } |
| 276 |
| 277 patch class Capability { |
| 278 /* patch */ factory Capability() { |
| 279 throw new UnimplementedError(); |
| 280 } |
| 281 } |
| OLD | NEW |