| Index: runtime/vm/service.h
|
| diff --git a/runtime/vm/service.h b/runtime/vm/service.h
|
| index 0d9aa39e5a6024ac589b071bf4769a018ac053d9..4f278db729c94cee788b6fbe840ceb89b4a7ea0f 100644
|
| --- a/runtime/vm/service.h
|
| +++ b/runtime/vm/service.h
|
| @@ -100,6 +100,9 @@ class Service : public AllStatic {
|
| Dart_ServiceRequestCallback callback,
|
| void* user_data);
|
|
|
| + static void SetEmbedderInformationCallback(
|
| + Dart_EmbedderInformationCallback callback);
|
| +
|
| static void SetEmbedderStreamCallbacks(
|
| Dart_ServiceStreamListenCallback listen_callback,
|
| Dart_ServiceStreamCancelCallback cancel_callback);
|
| @@ -167,6 +170,9 @@ class Service : public AllStatic {
|
|
|
| static void CheckForPause(Isolate* isolate, JSONStream* stream);
|
|
|
| + static int64_t CurrentRSS();
|
| + static int64_t MaxRSS();
|
| +
|
| private:
|
| static RawError* InvokeMethod(Isolate* isolate,
|
| const Array& message,
|
| @@ -209,6 +215,7 @@ class Service : public AllStatic {
|
| static Dart_ServiceStreamListenCallback stream_listen_callback_;
|
| static Dart_ServiceStreamCancelCallback stream_cancel_callback_;
|
| static Dart_GetVMServiceAssetsArchive get_service_assets_callback_;
|
| + static Dart_EmbedderInformationCallback embedder_information_callback_;
|
|
|
| static bool needs_isolate_events_;
|
| static bool needs_debug_events_;
|
|
|