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

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

Issue 1424703004: Getting rid of Isolate::current_zone() usage. Pass thread instead of isolate where it makes sense. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix build Created 5 years, 1 month 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
« no previous file with comments | « runtime/vm/profiler_test.cc ('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_tools_api.h" 8 #include "include/dart_tools_api.h"
9 9
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 void* user_data); 98 void* user_data);
99 99
100 static void SetEmbedderStreamCallbacks( 100 static void SetEmbedderStreamCallbacks(
101 Dart_ServiceStreamListenCallback listen_callback, 101 Dart_ServiceStreamListenCallback listen_callback,
102 Dart_ServiceStreamCancelCallback cancel_callback); 102 Dart_ServiceStreamCancelCallback cancel_callback);
103 103
104 static void SetGetServiceAssetsCallback( 104 static void SetGetServiceAssetsCallback(
105 Dart_GetVMServiceAssetsArchive get_service_assets); 105 Dart_GetVMServiceAssetsArchive get_service_assets);
106 106
107 static void SendEchoEvent(Isolate* isolate, const char* text); 107 static void SendEchoEvent(Isolate* isolate, const char* text);
108 static void SendGraphEvent(Isolate* isolate); 108 static void SendGraphEvent(Thread* thread);
109 static void SendInspectEvent(Isolate* isolate, const Object& inspectee); 109 static void SendInspectEvent(Isolate* isolate, const Object& inspectee);
110 110
111 static void SendEmbedderEvent(Isolate* isolate, 111 static void SendEmbedderEvent(Isolate* isolate,
112 const char* stream_id, 112 const char* stream_id,
113 const char* event_kind, 113 const char* event_kind,
114 const uint8_t* bytes, 114 const uint8_t* bytes,
115 intptr_t bytes_len); 115 intptr_t bytes_len);
116 116
117 static void SendLogEvent(Isolate* isolate, 117 static void SendLogEvent(Isolate* isolate,
118 int64_t sequence_number, 118 int64_t sequence_number,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 static bool needs_isolate_events_; 192 static bool needs_isolate_events_;
193 static bool needs_debug_events_; 193 static bool needs_debug_events_;
194 static bool needs_gc_events_; 194 static bool needs_gc_events_;
195 static bool needs_echo_events_; 195 static bool needs_echo_events_;
196 static bool needs_graph_events_; 196 static bool needs_graph_events_;
197 }; 197 };
198 198
199 } // namespace dart 199 } // namespace dart
200 200
201 #endif // VM_SERVICE_H_ 201 #endif // VM_SERVICE_H_
OLDNEW
« no previous file with comments | « runtime/vm/profiler_test.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698