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

Unified Diff: runtime/vm/isolate.h

Issue 1807293002: - Fix for issue 25950 (add registration of a thread exit callback) (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: self-review-comments Created 4 years, 9 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/dart_api_impl.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 8516edb91a2e585a923e8f551248b44b04621d6b..3ddcb27583dcea242d318778466d81d402c65612 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -431,36 +431,6 @@ class Isolate : public BaseIsolate {
return shutdown_callback_;
}
- static void SetFileCallbacks(Dart_FileOpenCallback file_open,
- Dart_FileReadCallback file_read,
- Dart_FileWriteCallback file_write,
- Dart_FileCloseCallback file_close) {
- file_open_callback_ = file_open;
- file_read_callback_ = file_read;
- file_write_callback_ = file_write;
- file_close_callback_ = file_close;
- }
-
- static Dart_FileOpenCallback file_open_callback() {
- return file_open_callback_;
- }
- static Dart_FileReadCallback file_read_callback() {
- return file_read_callback_;
- }
- static Dart_FileWriteCallback file_write_callback() {
- return file_write_callback_;
- }
- static Dart_FileCloseCallback file_close_callback() {
- return file_close_callback_;
- }
-
- static void SetEntropySourceCallback(Dart_EntropySource entropy_source) {
- entropy_source_callback_ = entropy_source;
- }
- static Dart_EntropySource entropy_source_callback() {
- return entropy_source_callback_;
- }
-
void set_object_id_ring(ObjectIdRing* ring) {
object_id_ring_ = ring;
}
@@ -859,11 +829,6 @@ class Isolate : public BaseIsolate {
static Dart_IsolateCreateCallback create_callback_;
static Dart_IsolateShutdownCallback shutdown_callback_;
- static Dart_FileOpenCallback file_open_callback_;
- static Dart_FileReadCallback file_read_callback_;
- static Dart_FileWriteCallback file_write_callback_;
- static Dart_FileCloseCallback file_close_callback_;
- static Dart_EntropySource entropy_source_callback_;
static Dart_IsolateInterruptCallback vmstats_callback_;
static void WakePauseEventHandler(Dart_Isolate isolate);
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698