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

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

Issue 869773007: Port _echo, etc commands to RPC (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | « runtime/observatory/test/malformed_test.dart ('k') | 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 static void RegisterIsolateEmbedderCallback( 67 static void RegisterIsolateEmbedderCallback(
68 const char* name, 68 const char* name,
69 Dart_ServiceRequestCallback callback, 69 Dart_ServiceRequestCallback callback,
70 void* user_data); 70 void* user_data);
71 71
72 static void RegisterRootEmbedderCallback( 72 static void RegisterRootEmbedderCallback(
73 const char* name, 73 const char* name,
74 Dart_ServiceRequestCallback callback, 74 Dart_ServiceRequestCallback callback,
75 void* user_data); 75 void* user_data);
76 76
77 static void SendEchoEvent(Isolate* isolate); 77 static void SendEchoEvent(Isolate* isolate, const char* text);
78 static void SendGraphEvent(Isolate* isolate); 78 static void SendGraphEvent(Isolate* isolate);
79 79
80 static void MaybeInjectVMServiceLibrary(Isolate* isolate); 80 static void MaybeInjectVMServiceLibrary(Isolate* isolate);
81 81
82 static void RunService(); 82 static void RunService();
83 83
84 static void FinishedInitializing(); 84 static void FinishedInitializing();
85 85
86 static Dart_IsolateCreateCallback create_callback() { 86 static Dart_IsolateCreateCallback create_callback() {
87 return create_callback_; 87 return create_callback_;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 static bool initializing_; 119 static bool initializing_;
120 static Isolate* service_isolate_; 120 static Isolate* service_isolate_;
121 static Dart_Port service_port_; 121 static Dart_Port service_port_;
122 static Dart_Port load_port_; 122 static Dart_Port load_port_;
123 static uint32_t event_mask_; 123 static uint32_t event_mask_;
124 }; 124 };
125 125
126 } // namespace dart 126 } // namespace dart
127 127
128 #endif // VM_SERVICE_H_ 128 #endif // VM_SERVICE_H_
OLDNEW
« no previous file with comments | « runtime/observatory/test/malformed_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698