| 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_api.h" | 8 #include "include/dart_api.h" |
| 9 | 9 |
| 10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 static EmbedderServiceHandler* FindRootEmbedderHandler(const char* name); | 70 static EmbedderServiceHandler* FindRootEmbedderHandler(const char* name); |
| 71 static Dart_Handle GetSource(const char* name); | 71 static Dart_Handle GetSource(const char* name); |
| 72 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, Dart_Handle library, | 72 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, Dart_Handle library, |
| 73 Dart_Handle url); | 73 Dart_Handle url); |
| 74 static void SendEvent(intptr_t eventId, const String& eventMessage); | 74 static void SendEvent(intptr_t eventId, const String& eventMessage); |
| 75 | 75 |
| 76 static EmbedderServiceHandler* isolate_service_handler_head_; | 76 static EmbedderServiceHandler* isolate_service_handler_head_; |
| 77 static EmbedderServiceHandler* root_service_handler_head_; | 77 static EmbedderServiceHandler* root_service_handler_head_; |
| 78 | 78 |
| 79 static Isolate* service_isolate_; | 79 static Isolate* service_isolate_; |
| 80 static Dart_LibraryTagHandler default_handler_; | 80 static Dart_LibraryTagHandler embedder_provided_handler_; |
| 81 static Dart_Port port_; | 81 static Dart_Port port_; |
| 82 static uint32_t event_mask_; | 82 static uint32_t event_mask_; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace dart | 85 } // namespace dart |
| 86 | 86 |
| 87 #endif // VM_SERVICE_H_ | 87 #endif // VM_SERVICE_H_ |
| OLD | NEW |