Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index f440f32738e2a14a7368bd3db54a5a25b68839ca..d257ca00fdc85770e7fc4ca3d0f04a6819e93dd0 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -5931,6 +5931,11 @@ DART_EXPORT void Dart_RegisterRootServiceRequestCallback( |
return; |
} |
+DART_EXPORT void Dart_SetEmbedderInformationCallback( |
+ Dart_EmbedderInformationCalback calback) { |
+ return; |
+} |
+ |
DART_EXPORT Dart_Handle Dart_SetServiceStreamCallbacks( |
Dart_ServiceStreamListenCallback listen_callback, |
Dart_ServiceStreamCancelCallback cancel_callback) { |
@@ -5996,6 +6001,13 @@ DART_EXPORT void Dart_RegisterRootServiceRequestCallback( |
} |
} |
+DART_EXPORT void Dart_SetEmbedderInformationCallback( |
+ Dart_EmbedderInformationCallback callback) { |
+ if (FLAG_support_service) { |
+ Service::SetEmbedderInformationCallback(callback); |
+ } |
+} |
+ |
DART_EXPORT Dart_Handle Dart_SetServiceStreamCallbacks( |
Dart_ServiceStreamListenCallback listen_callback, |
Dart_ServiceStreamCancelCallback cancel_callback) { |