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

Unified Diff: bin/eventhandler_win.h

Issue 8249007: Implement the full process interface for Windows (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 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 | « no previous file | bin/eventhandler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/eventhandler_win.h
===================================================================
--- bin/eventhandler_win.h (revision 380)
+++ bin/eventhandler_win.h (working copy)
@@ -139,6 +139,11 @@
virtual ~Handle();
+ // Socket interface exposing normal socket operations.
+ int Available();
+ int Read(void* buffer, int num_bytes);
+ int Write(const void* buffer, int num_bytes);
+
// Internal interface used by the event handler.
virtual bool IssueRead();
virtual bool IssueWrite();
@@ -202,6 +207,12 @@
: Handle(reinterpret_cast<HANDLE>(handle)) { type_ = kFile; }
FileHandle(HANDLE handle, Dart_Port port)
: Handle(reinterpret_cast<HANDLE>(handle), port) { type_ = kFile; }
+
+ virtual void EnsureInitialized(EventHandlerImplementation* event_handler);
+ virtual bool IsClosed();
+
+ private:
+ virtual void AfterClose();
};
@@ -277,11 +288,6 @@
ASSERT(next_ == NULL);
};
- // Socket interface exposing normal socket operations.
- int Available();
- int Read(void* buffer, int num_bytes);
- int Write(const void* buffer, int num_bytes);
-
// Internal interface used by the event handler.
virtual bool IssueRead();
virtual bool IssueWrite();
« no previous file with comments | « no previous file | bin/eventhandler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698