Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: runtime/vm/service.h

Issue 2980733003: Introduced support for external services registration in the ServiceProtocol (Closed)
Patch Set: Address comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « runtime/observatory/tests/service/send_object_to_editor_rpc_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698