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

Unified Diff: runtime/vm/service.h

Issue 206213004: Add a VM page to the observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/json_stream.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
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 1df8a94628b4f964eae8bc6034b4fe9d6414b0a8..c3cdce955197214b8a5ffc9eb1f15c020f397df2 100644
--- a/runtime/vm/service.h
+++ b/runtime/vm/service.h
@@ -40,6 +40,10 @@ class Service : public AllStatic {
Dart_ServiceRequestCallback callback,
void* user_data);
+ static bool IsServiceIsolate(Isolate* isolate) {
+ return isolate == service_isolate_;
+ }
+
private:
static void EmbedderHandleMessage(EmbedderServiceHandler* handler,
JSONStream* js);
« no previous file with comments | « runtime/vm/json_stream.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698