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

Unified Diff: vm/isolate.cc

Issue 10450016: Add a callback to inform embedders when an isolate is being shut down. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 7 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 | « vm/isolate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/isolate.cc
===================================================================
--- vm/isolate.cc (revision 7933)
+++ vm/isolate.cc (working copy)
@@ -393,28 +393,9 @@
Dart_IsolateCreateCallback Isolate::create_callback_ = NULL;
Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL;
+Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL;
-void Isolate::SetCreateCallback(Dart_IsolateCreateCallback cb) {
- create_callback_ = cb;
-}
-
-
-Dart_IsolateCreateCallback Isolate::CreateCallback() {
- return create_callback_;
-}
-
-
-void Isolate::SetInterruptCallback(Dart_IsolateInterruptCallback cb) {
- interrupt_callback_ = cb;
-}
-
-
-Dart_IsolateInterruptCallback Isolate::InterruptCallback() {
- return interrupt_callback_;
-}
-
-
void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor,
bool visit_prologue_weak_handles,
bool validate_frames) {
« no previous file with comments | « vm/isolate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698