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

Unified Diff: runtime/vm/isolate.h

Issue 24975002: - Implement a first cut for const String.env in the VM to allow (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
===================================================================
--- runtime/vm/isolate.h (revision 28841)
+++ runtime/vm/isolate.h (working copy)
@@ -174,6 +174,13 @@
return init_callback_data_;
}
+ Dart_EnvironmentCallback environment_callback() const {
+ return environment_callback_;
+ }
+ void set_environment_callback(Dart_EnvironmentCallback value) {
+ environment_callback_ = value;
+ }
+
Dart_LibraryTagHandler library_tag_handler() const {
return library_tag_handler_;
}
@@ -393,6 +400,7 @@
RawContext* top_context_;
uword top_exit_frame_info_;
void* init_callback_data_;
+ Dart_EnvironmentCallback environment_callback_;
Dart_LibraryTagHandler library_tag_handler_;
ApiState* api_state_;
StubCode* stub_code_;
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698