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

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

Issue 2208553002: Simplify reload error reporting (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | runtime/vm/isolate.cc » ('j') | runtime/vm/unit_test.cc » ('J')
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_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/atomic.h" 10 #include "vm/atomic.h"
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 } 476 }
477 477
478 void DeleteReloadContext(); 478 void DeleteReloadContext();
479 479
480 bool HasAttemptedReload() const { 480 bool HasAttemptedReload() const {
481 return has_attempted_reload_; 481 return has_attempted_reload_;
482 } 482 }
483 483
484 bool CanReload() const; 484 bool CanReload() const;
485 485
486 void ReportReloadError(const Error& error);
487
488 void set_last_reload_timestamp(int64_t value) { 486 void set_last_reload_timestamp(int64_t value) {
489 last_reload_timestamp_ = value; 487 last_reload_timestamp_ = value;
490 } 488 }
491 int64_t last_reload_timestamp() const { 489 int64_t last_reload_timestamp() const {
492 return last_reload_timestamp_; 490 return last_reload_timestamp_;
493 } 491 }
494 492
495 uword user_tag() const { 493 uword user_tag() const {
496 return user_tag_; 494 return user_tag_;
497 } 495 }
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 intptr_t* spawn_count_; 988 intptr_t* spawn_count_;
991 989
992 Dart_IsolateFlags isolate_flags_; 990 Dart_IsolateFlags isolate_flags_;
993 bool paused_; 991 bool paused_;
994 bool errors_are_fatal_; 992 bool errors_are_fatal_;
995 }; 993 };
996 994
997 } // namespace dart 995 } // namespace dart
998 996
999 #endif // VM_ISOLATE_H_ 997 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | runtime/vm/unit_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698