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

Unified Diff: runtime/vm/isolate.h

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 | « runtime/vm/debugger.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index bb2efbfb1643d5e73174e12cccf019b326e2b56e..98b41882a5dddbc9746d4af0bbbe62b26de080cb 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_service_request() const {
+ return should_pause_post_service_request_;
+ }
+ void set_should_pause_post_service_request(
+ bool should_pause_post_service_request) {
+ should_pause_post_service_request_ = should_pause_post_service_request;
+ }
+
+ void PausePostRequest();
+
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_service_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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698