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

Unified Diff: runtime/observatory/lib/event.dart

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/observatory/lib/src/models/objects/event.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/event.dart
diff --git a/runtime/observatory/lib/event.dart b/runtime/observatory/lib/event.dart
index 4ca9106ac39b98ed96eb39ae6594c93f1ea745d0..50401fd229628ce270ac2a33a24589d3d8f6442c 100644
--- a/runtime/observatory/lib/event.dart
+++ b/runtime/observatory/lib/event.dart
@@ -138,6 +138,21 @@ class PauseInterruptedEvent implements M.PauseInterruptedEvent {
}
}
+
+class PausePostRequestEvent implements M.PauseInterruptedEvent {
+ final DateTime timestamp;
+ final M.IsolateRef isolate;
+ final M.Frame topFrame;
+ final bool atAsyncSuspension;
+ PausePostRequestEvent(
+ this.timestamp, this.isolate, this.topFrame, this.atAsyncSuspension) {
+ assert(timestamp != null);
+ assert(isolate != null);
+ assert(atAsyncSuspension != null);
+ }
+}
+
+
class PauseExceptionEvent implements M.PauseExceptionEvent {
final DateTime timestamp;
final M.IsolateRef isolate;
@@ -303,6 +318,12 @@ M.Event createEventFromServiceEvent(S.ServiceEvent event) {
return new PauseStartEvent(event.timestamp, event.isolate);
case S.ServiceEvent.kPauseExit:
return new PauseExitEvent(event.timestamp, event.isolate);
+ case S.ServiceEvent.kPausePostRequest:
+ return new PausePostRequestEvent(
+ event.timestamp,
+ event.isolate,
+ event.topFrame,
+ event.atAsyncSuspension);
case S.ServiceEvent.kPauseBreakpoint:
return new PauseBreakpointEvent(
event.timestamp,
« no previous file with comments | « no previous file | runtime/observatory/lib/src/models/objects/event.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698