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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 137 |
138 // Well-known streams. | 138 // Well-known streams. |
139 static StreamInfo vm_stream; | 139 static StreamInfo vm_stream; |
140 static StreamInfo isolate_stream; | 140 static StreamInfo isolate_stream; |
141 static StreamInfo debug_stream; | 141 static StreamInfo debug_stream; |
142 static StreamInfo gc_stream; | 142 static StreamInfo gc_stream; |
143 static StreamInfo echo_stream; | 143 static StreamInfo echo_stream; |
144 static StreamInfo graph_stream; | 144 static StreamInfo graph_stream; |
145 static StreamInfo logging_stream; | 145 static StreamInfo logging_stream; |
146 static StreamInfo extension_stream; | 146 static StreamInfo extension_stream; |
| 147 static StreamInfo timeline_stream; |
147 | 148 |
148 static bool ListenStream(const char* stream_id); | 149 static bool ListenStream(const char* stream_id); |
149 static void CancelStream(const char* stream_id); | 150 static void CancelStream(const char* stream_id); |
150 | 151 |
151 static RawObject* RequestAssets(); | 152 static RawObject* RequestAssets(); |
152 | 153 |
153 static Dart_ServiceStreamListenCallback stream_listen_callback() { | 154 static Dart_ServiceStreamListenCallback stream_listen_callback() { |
154 return stream_listen_callback_; | 155 return stream_listen_callback_; |
155 } | 156 } |
156 static Dart_ServiceStreamCancelCallback stream_cancel_callback() { | 157 static Dart_ServiceStreamCancelCallback stream_cancel_callback() { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 static bool needs_isolate_events_; | 199 static bool needs_isolate_events_; |
199 static bool needs_debug_events_; | 200 static bool needs_debug_events_; |
200 static bool needs_gc_events_; | 201 static bool needs_gc_events_; |
201 static bool needs_echo_events_; | 202 static bool needs_echo_events_; |
202 static bool needs_graph_events_; | 203 static bool needs_graph_events_; |
203 }; | 204 }; |
204 | 205 |
205 } // namespace dart | 206 } // namespace dart |
206 | 207 |
207 #endif // VM_SERVICE_H_ | 208 #endif // VM_SERVICE_H_ |
OLD | NEW |