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

Side by Side Diff: runtime/vm/service_event.cc

Issue 2411153002: Make reloadSources service RPC public (Closed)
Patch Set: turnidge review Created 4 years, 2 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
« no previous file with comments | « runtime/vm/service_event.h ('k') | no next file » | 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 #include "vm/service_event.h" 5 #include "vm/service_event.h"
6 6
7 #include "vm/debugger.h" 7 #include "vm/debugger.h"
8 #include "vm/message_handler.h" 8 #include "vm/message_handler.h"
9 #include "vm/service_isolate.h" 9 #include "vm/service_isolate.h"
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 case kPauseStart: 76 case kPauseStart:
77 return "PauseStart"; 77 return "PauseStart";
78 case kPauseExit: 78 case kPauseExit:
79 return "PauseExit"; 79 return "PauseExit";
80 case kPauseBreakpoint: 80 case kPauseBreakpoint:
81 return "PauseBreakpoint"; 81 return "PauseBreakpoint";
82 case kPauseInterrupted: 82 case kPauseInterrupted:
83 return "PauseInterrupted"; 83 return "PauseInterrupted";
84 case kPauseException: 84 case kPauseException:
85 return "PauseException"; 85 return "PauseException";
86 case kPausePostRequest:
87 return "PausePostRequest";
86 case kNone: 88 case kNone:
87 return "None"; 89 return "None";
88 case kResume: 90 case kResume:
89 return "Resume"; 91 return "Resume";
90 case kBreakpointAdded: 92 case kBreakpointAdded:
91 return "BreakpointAdded"; 93 return "BreakpointAdded";
92 case kBreakpointResolved: 94 case kBreakpointResolved:
93 return "BreakpointResolved"; 95 return "BreakpointResolved";
94 case kBreakpointRemoved: 96 case kBreakpointRemoved:
95 return "BreakpointRemoved"; 97 return "BreakpointRemoved";
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 case kIsolateReload: 130 case kIsolateReload:
129 case kIsolateSpawn: 131 case kIsolateSpawn:
130 case kServiceExtensionAdded: 132 case kServiceExtensionAdded:
131 return &Service::isolate_stream; 133 return &Service::isolate_stream;
132 134
133 case kPauseStart: 135 case kPauseStart:
134 case kPauseExit: 136 case kPauseExit:
135 case kPauseBreakpoint: 137 case kPauseBreakpoint:
136 case kPauseInterrupted: 138 case kPauseInterrupted:
137 case kPauseException: 139 case kPauseException:
140 case kPausePostRequest:
138 case kNone: 141 case kNone:
139 case kResume: 142 case kResume:
140 case kBreakpointAdded: 143 case kBreakpointAdded:
141 case kBreakpointResolved: 144 case kBreakpointResolved:
142 case kBreakpointRemoved: 145 case kBreakpointRemoved:
143 case kInspect: 146 case kInspect:
144 case kDebuggerSettingsUpdate: 147 case kDebuggerSettingsUpdate:
145 return &Service::debug_stream; 148 return &Service::debug_stream;
146 149
147 case kGC: 150 case kGC:
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 } else { 279 } else {
277 jsobj->AddProperty("isolate", isolate()); 280 jsobj->AddProperty("isolate", isolate());
278 } 281 }
279 ASSERT(timestamp_ != -1); 282 ASSERT(timestamp_ != -1);
280 jsobj->AddPropertyTimeMillis("timestamp", timestamp_); 283 jsobj->AddPropertyTimeMillis("timestamp", timestamp_);
281 } 284 }
282 285
283 #endif // !PRODUCT 286 #endif // !PRODUCT
284 287
285 } // namespace dart 288 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/service_event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698