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

Unified Diff: mojo/public/dart/src/types.dart

Issue 741503003: Adding MOJO_HANDLE_SIGNAL_PEER_CLOSED to be notified when a peer is closed. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix go formatting Created 6 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 | « mojo/public/c/system/types.h ('k') | mojo/public/go/system/impl/mojo_types.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/src/types.dart
diff --git a/mojo/public/dart/src/types.dart b/mojo/public/dart/src/types.dart
index 4353d74b5ce616bcf0873a8e07e5f0fa7a270dec..1dc3572bca950f50dfba24ecbe4ee60b13c6dba5 100644
--- a/mojo/public/dart/src/types.dart
+++ b/mojo/public/dart/src/types.dart
@@ -122,6 +122,7 @@ class MojoHandleSignals {
static const int NONE = 0;
static const int READABLE = 1 << 0;
static const int WRITABLE = 1 << 1;
+ static const int PEER_CLOSED = 1 << 2;
static const int READWRITE = READABLE | WRITABLE;
static bool isNone(int mask) => mask == NONE;
« no previous file with comments | « mojo/public/c/system/types.h ('k') | mojo/public/go/system/impl/mojo_types.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698