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

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

Issue 196983012: Made SendPort a Capability. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months 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 | « no previous file | tests/isolate/capability_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/isolate/isolate.dart
diff --git a/sdk/lib/isolate/isolate.dart b/sdk/lib/isolate/isolate.dart
index 3ae06e9b7c75ec0b9a055d4cfbe23f785ba2d996..ea6a4df773dc71e06d22adc455815be32ae805c3 100644
--- a/sdk/lib/isolate/isolate.dart
+++ b/sdk/lib/isolate/isolate.dart
@@ -272,9 +272,10 @@ class Isolate {
* a [SendPort] is delivered to its corresponding [ReceivePort]. There might be
* many [SendPort]s for the same [ReceivePort].
*
- * [SendPort]s can be transmitted to other isolates.
+ * [SendPort]s can be transmitted to other isolates, and they preserve equality
+ * when sent.
*/
-abstract class SendPort {
+abstract class SendPort implements Capability {
/**
* Sends an asynchronous [message] through this send port, to its
« no previous file with comments | « no previous file | tests/isolate/capability_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698