| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_SERVICE_H_ | 5 #ifndef VM_SERVICE_H_ |
| 6 #define VM_SERVICE_H_ | 6 #define VM_SERVICE_H_ |
| 7 | 7 |
| 8 #include "include/dart_tools_api.h" | 8 #include "include/dart_tools_api.h" |
| 9 | 9 |
| 10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void* user_data); | 98 void* user_data); |
| 99 | 99 |
| 100 static void SetEmbedderStreamCallbacks( | 100 static void SetEmbedderStreamCallbacks( |
| 101 Dart_ServiceStreamListenCallback listen_callback, | 101 Dart_ServiceStreamListenCallback listen_callback, |
| 102 Dart_ServiceStreamCancelCallback cancel_callback); | 102 Dart_ServiceStreamCancelCallback cancel_callback); |
| 103 | 103 |
| 104 static void SetGetServiceAssetsCallback( | 104 static void SetGetServiceAssetsCallback( |
| 105 Dart_GetVMServiceAssetsArchive get_service_assets); | 105 Dart_GetVMServiceAssetsArchive get_service_assets); |
| 106 | 106 |
| 107 static void SendEchoEvent(Isolate* isolate, const char* text); | 107 static void SendEchoEvent(Isolate* isolate, const char* text); |
| 108 static void SendGraphEvent(Thread* thread); | 108 static void SendGraphEvent(Thread* thread, bool collect_garbage); |
| 109 static void SendInspectEvent(Isolate* isolate, const Object& inspectee); | 109 static void SendInspectEvent(Isolate* isolate, const Object& inspectee); |
| 110 | 110 |
| 111 static void SendEmbedderEvent(Isolate* isolate, | 111 static void SendEmbedderEvent(Isolate* isolate, |
| 112 const char* stream_id, | 112 const char* stream_id, |
| 113 const char* event_kind, | 113 const char* event_kind, |
| 114 const uint8_t* bytes, | 114 const uint8_t* bytes, |
| 115 intptr_t bytes_len); | 115 intptr_t bytes_len); |
| 116 | 116 |
| 117 static void SendLogEvent(Isolate* isolate, | 117 static void SendLogEvent(Isolate* isolate, |
| 118 int64_t sequence_number, | 118 int64_t sequence_number, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 static bool needs_isolate_events_; | 199 static bool needs_isolate_events_; |
| 200 static bool needs_debug_events_; | 200 static bool needs_debug_events_; |
| 201 static bool needs_gc_events_; | 201 static bool needs_gc_events_; |
| 202 static bool needs_echo_events_; | 202 static bool needs_echo_events_; |
| 203 static bool needs_graph_events_; | 203 static bool needs_graph_events_; |
| 204 }; | 204 }; |
| 205 | 205 |
| 206 } // namespace dart | 206 } // namespace dart |
| 207 | 207 |
| 208 #endif // VM_SERVICE_H_ | 208 #endif // VM_SERVICE_H_ |
| OLD | NEW |