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

Unified Diff: runtime/vm/dart_entry.h

Issue 9420038: Heartbeat implementation of dart:mirrors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_entry.h
===================================================================
--- runtime/vm/dart_entry.h (revision 5107)
+++ runtime/vm/dart_entry.h (working copy)
@@ -75,6 +75,26 @@
static RawObject* HandleMessage(Dart_Port dest_port_id,
Dart_Port reply_port_id,
const Instance& dart_message);
+
+ // Returns null on success, a RawError on failure.
+ static RawObject* HandleMirrorsMessage(Dart_Port dest_port_id,
+ Dart_Port reply_port_id,
+ const Instance& dart_message);
+
+ // On success returns new SendPort, on failure returns a RawError.
+ static RawObject* NewSendPort(intptr_t port_id);
+
+ // map[key] = value;
+ //
+ // Returns null on success, a RawError on failure.
+ static RawObject* MapSetAt(const Instance& map,
+ const Instance& key,
+ const Instance& value);
+
+ // Gets the _id field of a SendPort/ReceivePort.
+ //
+ // Returns null on success, a RawError on failure.
+ static RawObject* PortGetId(const Instance& port);
};
} // namespace dart
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698