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 RUNTIME_VM_SERVICE_H_ | 5 #ifndef RUNTIME_VM_SERVICE_H_ |
6 #define RUNTIME_VM_SERVICE_H_ | 6 #define RUNTIME_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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Well-known streams. | 145 // Well-known streams. |
146 static StreamInfo vm_stream; | 146 static StreamInfo vm_stream; |
147 static StreamInfo isolate_stream; | 147 static StreamInfo isolate_stream; |
148 static StreamInfo debug_stream; | 148 static StreamInfo debug_stream; |
149 static StreamInfo gc_stream; | 149 static StreamInfo gc_stream; |
150 static StreamInfo echo_stream; | 150 static StreamInfo echo_stream; |
151 static StreamInfo graph_stream; | 151 static StreamInfo graph_stream; |
152 static StreamInfo logging_stream; | 152 static StreamInfo logging_stream; |
153 static StreamInfo extension_stream; | 153 static StreamInfo extension_stream; |
154 static StreamInfo timeline_stream; | 154 static StreamInfo timeline_stream; |
155 static StreamInfo editor_stream; | |
156 | 155 |
157 static bool ListenStream(const char* stream_id); | 156 static bool ListenStream(const char* stream_id); |
158 static void CancelStream(const char* stream_id); | 157 static void CancelStream(const char* stream_id); |
159 | 158 |
160 static RawObject* RequestAssets(); | 159 static RawObject* RequestAssets(); |
161 | 160 |
162 static Dart_ServiceStreamListenCallback stream_listen_callback() { | 161 static Dart_ServiceStreamListenCallback stream_listen_callback() { |
163 return stream_listen_callback_; | 162 return stream_listen_callback_; |
164 } | 163 } |
165 static Dart_ServiceStreamCancelCallback stream_cancel_callback() { | 164 static Dart_ServiceStreamCancelCallback stream_cancel_callback() { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 static bool needs_isolate_events_; | 215 static bool needs_isolate_events_; |
217 static bool needs_debug_events_; | 216 static bool needs_debug_events_; |
218 static bool needs_gc_events_; | 217 static bool needs_gc_events_; |
219 static bool needs_echo_events_; | 218 static bool needs_echo_events_; |
220 static bool needs_graph_events_; | 219 static bool needs_graph_events_; |
221 }; | 220 }; |
222 | 221 |
223 } // namespace dart | 222 } // namespace dart |
224 | 223 |
225 #endif // RUNTIME_VM_SERVICE_H_ | 224 #endif // RUNTIME_VM_SERVICE_H_ |
OLD | NEW |