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

Unified Diff: runtime/vm/service.h

Issue 891343006: Always use isolate creation callback passed to Dart_Initialize for service isolate startup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | « no previous file | runtime/vm/service.cc » ('j') | runtime/vm/service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.h
diff --git a/runtime/vm/service.h b/runtime/vm/service.h
index f4b6775909def1ef61776059816b9e2041ec7018..ae45d2a936a8dfa71a44963c0c7481b5cc091bff 100644
--- a/runtime/vm/service.h
+++ b/runtime/vm/service.h
@@ -25,7 +25,7 @@ class String;
class Service : public AllStatic {
public:
- static const char* kServiceIsolateName;
+ static const char* kIsolateName;
static bool IsServiceIsolateName(const char* name);
// Handles a message which is not directed to an isolate.
@@ -81,6 +81,10 @@ class Service : public AllStatic {
static void FinishedInitializing();
+ static Dart_IsolateCreateCallback create_callback() {
+ return create_callback_;
+ }
+
private:
// These must be kept in sync with service/constants.dart
static const int kEventFamilyDebug = 0;
@@ -108,6 +112,7 @@ class Service : public AllStatic {
static EmbedderServiceHandler* root_service_handler_head_;
+ static Dart_IsolateCreateCallback create_callback_;
static Monitor* monitor_;
static bool initializing_;
static Isolate* service_isolate_;
« no previous file with comments | « no previous file | runtime/vm/service.cc » ('j') | runtime/vm/service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698