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

Unified Diff: runtime/bin/socket.h

Issue 24395013: Merge services into a shared IOService in dart:io, and use a native port. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Finish off native_service Created 7 years, 3 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/secure_socket_patch.dart ('k') | runtime/bin/socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket.h
diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h
index db76f5852a5923723a66eb5186d0518070e92cd2..d6f9b0df1da0b0faeef278ab2f08022615210b9b 100644
--- a/runtime/bin/socket.h
+++ b/runtime/bin/socket.h
@@ -7,6 +7,7 @@
#include "bin/builtin.h"
#include "bin/utils.h"
+#include "bin/dartutils.h"
#include "platform/globals.h"
#include "platform/thread.h"
@@ -185,6 +186,10 @@ class Socket {
int type,
OSError** os_error);
+ static CObject* LookupRequest(const CObjectArray& request);
+ static CObject* ListInterfacesRequest(const CObjectArray& request);
+ static CObject* ReverseLookupRequest(const CObjectArray& request);
+
static Dart_Port GetServicePort();
static Dart_Handle SetSocketIdNativeField(Dart_Handle socket, intptr_t id);
« no previous file with comments | « runtime/bin/secure_socket_patch.dart ('k') | runtime/bin/socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698