Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: sdk/lib/isolate/base.dart

Issue 11275280: Make ReceivePort an abstract class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/isolate/base.dart
diff --git a/sdk/lib/isolate/base.dart b/sdk/lib/isolate/base.dart
index d61c35c4a561727cd739103ef7a9763fd4f7e4bf..e43e3bbe9b0986ed4c208b6045c07cf861b58c73 100644
--- a/sdk/lib/isolate/base.dart
+++ b/sdk/lib/isolate/base.dart
@@ -105,13 +105,13 @@ abstract class SendPort {
*
* A [ReceivePort] may have many [SendPort]s.
*/
-interface ReceivePort default _ReceivePortFactory {
+abstract class ReceivePort {
/**
* Opens a long-lived port for receiving messages. The returned port
* must be explicitly closed through [ReceivePort.close].
*/
- ReceivePort();
+ external factory ReceivePort();
/**
* Sets up a callback function for receiving pending or future
@@ -142,7 +142,3 @@ abstract class SendPortSync {
callSync(var message);
}
-
-class _ReceivePortFactory {
- external factory ReceivePort();
-}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698