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

Unified Diff: runtime/bin/file.h

Issue 12316036: Merge IO v2 branch to bleeding edge (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased to r18818 Created 7 years, 10 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/bin/eventhandler_win.cc ('k') | runtime/bin/file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file.h
diff --git a/runtime/bin/file.h b/runtime/bin/file.h
index 5f3fd004a082dca9718500b94f9b9b9b880cc86a..53a1e448ca0aa030ab62770009e21868898ac41f 100644
--- a/runtime/bin/file.h
+++ b/runtime/bin/file.h
@@ -12,6 +12,7 @@
#include "bin/builtin.h"
#include "bin/dartutils.h"
+#include "bin/native_service.h"
#include "platform/globals.h"
#include "platform/thread.h"
@@ -138,10 +139,7 @@ class File {
// FileHandle is an OS specific class which stores data about the file.
FileHandle* handle_; // OS specific handle for the file.
- static dart::Mutex mutex_;
- static int service_ports_size_;
- static Dart_Port* service_ports_;
- static int service_ports_index_;
+ static NativeService file_service_;
DISALLOW_COPY_AND_ASSIGN(File);
};
« no previous file with comments | « runtime/bin/eventhandler_win.cc ('k') | runtime/bin/file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698