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

Unified Diff: runtime/vm/isolate.h

Issue 125103004: Move service into VM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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_entry.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
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 05faacf32ea613747a8595348b247a74a27df1bc..08dd50b68b4ac67010b51b9f53ca7cd7fe178106 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -299,6 +299,13 @@ class Isolate : public BaseIsolate {
return create_callback_;
}
+ static void SetServiceCreateCallback(Dart_ServiceIsolateCreateCalback cb) {
+ service_create_callback_ = cb;
+ }
+ static Dart_ServiceIsolateCreateCalback ServiceCreateCallback() {
+ return service_create_callback_;
+ }
+
static void SetInterruptCallback(Dart_IsolateInterruptCallback cb) {
interrupt_callback_ = cb;
}
@@ -479,6 +486,7 @@ class Isolate : public BaseIsolate {
static Dart_FileCloseCallback file_close_callback_;
static Dart_EntropySource entropy_source_callback_;
static Dart_IsolateInterruptCallback vmstats_callback_;
+ static Dart_ServiceIsolateCreateCalback service_create_callback_;
friend class ReusableHandleScope;
friend class ReusableObjectHandleScope;
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698