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

Unified Diff: runtime/vm/isolate.h

Issue 2411153002: Make reloadSources service RPC public (Closed)
Patch Set: 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
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index bb2efbfb1643d5e73174e12cccf019b326e2b56e..d6bbce550b37537d003a8a5b7341b7759b8c9966 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -510,6 +510,18 @@ class Isolate : public BaseIsolate {
return last_reload_timestamp_;
}
+ bool IsPaused() const;
+
+ bool should_pause_post_reload_request() const {
+ return should_pause_post_reload_request_;
+ }
+ void set_should_pause_post_reload_request(
+ bool should_pause_post_reload_request) {
+ should_pause_post_reload_request_ = should_pause_post_reload_request;
+ }
+
+ void PausePostReload();
+
uword user_tag() const {
return user_tag_;
}
@@ -854,7 +866,8 @@ class Isolate : public BaseIsolate {
intptr_t reload_every_n_stack_overflow_checks_;
IsolateReloadContext* reload_context_;
int64_t last_reload_timestamp_;
-
+ // Should we pause in the debug message loop after this request?
+ bool should_pause_post_reload_request_;
static Dart_IsolateCreateCallback create_callback_;
static Dart_IsolateShutdownCallback shutdown_callback_;
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/isolate.cc » ('j') | runtime/vm/service_event.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698