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

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

Issue 391943003: Allow for no embedder provided library tag handler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698