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

Unified Diff: runtime/vm/service_isolate.h

Issue 1053713003: Do not register service isolate descendants with service (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
Index: runtime/vm/service_isolate.h
diff --git a/runtime/vm/service_isolate.h b/runtime/vm/service_isolate.h
index e71027f3479f0526abee34459af52544205c5d02..761521bf10d59e4e1003294aeffeb88ecf430556 100644
--- a/runtime/vm/service_isolate.h
+++ b/runtime/vm/service_isolate.h
@@ -20,7 +20,9 @@ class ServiceIsolate : public AllStatic {
static bool Exists();
static bool IsRunning();
static bool IsServiceIsolate(Isolate* isolate);
+ static bool IsServiceIsolateDescendant(Isolate* isolate);
static Dart_Port Port();
+ static Dart_Port Origin();
turnidge 2015/04/01 19:57:34 Does this need to be provided?
Cutch 2015/04/01 20:19:04 Done.
static Dart_Port WaitForLoadPort();
static Dart_Port LoadPort();
@@ -32,6 +34,7 @@ class ServiceIsolate : public AllStatic {
static void Shutdown();
protected:
+ static void SetOrigin(Dart_Port origin);
static void SetServicePort(Dart_Port port);
static void SetServiceIsolate(Isolate* isolate);
static void SetLoadPort(Dart_Port port);
@@ -56,6 +59,7 @@ class ServiceIsolate : public AllStatic {
static Isolate* isolate_;
static Dart_Port port_;
static Dart_Port load_port_;
+ static Dart_Port origin_;
friend class Dart;
friend class RunServiceTask;

Powered by Google App Engine
This is Rietveld 408576698