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

Unified Diff: runtime/vm/service.h

Issue 1411853003: Service isolate requests Observatory assets from embedder (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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/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 3fe90fec457c7490dbae3430af1a4beda428c4ff..ac3a5d32ed03193b1c125c8658f24659f74af33c 100644
--- a/runtime/vm/service.h
+++ b/runtime/vm/service.h
@@ -101,6 +101,9 @@ class Service : public AllStatic {
Dart_ServiceStreamListenCallback listen_callback,
Dart_ServiceStreamCancelCallback cancel_callback);
+ static void SetGetServiceAssetsCallback(
+ Dart_GetVMServiceAssetsArchive get_service_assets);
+
static void SendEchoEvent(Isolate* isolate, const char* text);
static void SendGraphEvent(Isolate* isolate);
static void SendInspectEvent(Isolate* isolate, const Object& inspectee);
@@ -140,6 +143,8 @@ class Service : public AllStatic {
static bool ListenStream(const char* stream_id);
static void CancelStream(const char* stream_id);
+ static RawObject* RequestAssets();
+
static Dart_ServiceStreamListenCallback stream_listen_callback() {
return stream_listen_callback_;
}
@@ -182,6 +187,7 @@ class Service : public AllStatic {
static EmbedderServiceHandler* root_service_handler_head_;
static Dart_ServiceStreamListenCallback stream_listen_callback_;
static Dart_ServiceStreamCancelCallback stream_cancel_callback_;
+ static Dart_GetVMServiceAssetsArchive get_service_assets_callback_;
static bool needs_isolate_events_;
static bool needs_debug_events_;
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698