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

Unified Diff: runtime/bin/eventhandler.h

Issue 198743002: Make the event-handler handle backpreasure. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Doc fix Created 6 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 | « no previous file | runtime/bin/eventhandler_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler.h
diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h
index 347d0e0a7eb36fe6d8ddef9264011a4c9f92bb1b..54845d0e3f3517e43a9170a8ac6c8e8312ffe272 100644
--- a/runtime/bin/eventhandler.h
+++ b/runtime/bin/eventhandler.h
@@ -7,7 +7,6 @@
#include "bin/builtin.h"
#include "bin/isolate_data.h"
-#include "bin/socket.h"
namespace dart {
namespace bin {
@@ -25,6 +24,7 @@ enum MessageFlags {
kCloseCommand = 8,
kShutdownReadCommand = 9,
kShutdownWriteCommand = 10,
+ kReturnTokenCommand = 11,
kListeningSocket = 16,
kPipe = 17,
};
@@ -108,7 +108,7 @@ namespace bin {
class EventHandler {
public:
void SendData(intptr_t id, Dart_Port dart_port, int64_t data) {
- delegate_.Notify(id, dart_port, data);
+ delegate_.SendData(id, dart_port, data);
}
/**
« no previous file with comments | « no previous file | runtime/bin/eventhandler_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698