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

Unified Diff: runtime/vm/message_handler.h

Issue 749373002: - Implement Isolate.ping. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
Index: runtime/vm/message_handler.h
===================================================================
--- runtime/vm/message_handler.h (revision 41942)
+++ runtime/vm/message_handler.h (working copy)
@@ -117,7 +117,9 @@
virtual Isolate* isolate() const { return NULL; }
// Posts a message on this handler's message queue.
- void PostMessage(Message* message);
+ // If before_events is true, then the message is enqueued before any pending
+ // events, but after any pending isolate library events.
+ void PostMessage(Message* message, bool before_events = false);
// Notifies this handler that a port is being closed.
void ClosePort(Dart_Port port);

Powered by Google App Engine
This is Rietveld 408576698