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

Unified Diff: runtime/bin/socket_patch.dart

Issue 863773002: Revert "Mark all private functions in dart: libraries as invisible (*sniff*). Previously these func… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/io_service_patch.dart ('k') | runtime/lib/mirrors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_patch.dart
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart
index c2cc58705509374020f048e7184231d4c045c3e2..ab5019bffbbcc4dee46f0f56cc759ed877a8fb86 100644
--- a/runtime/bin/socket_patch.dart
+++ b/runtime/bin/socket_patch.dart
@@ -329,7 +329,7 @@ class _NativeSocket extends _NativeSocketNativeWrapper with _ServiceObject {
static Future<List<InternetAddress>> lookup(
String host, {InternetAddressType type: InternetAddressType.ANY}) {
- return _IOService._dispatch(_SOCKET_LOOKUP, [host, type._value])
+ return _IOService.dispatch(_SOCKET_LOOKUP, [host, type._value])
.then((response) {
if (isErrorResponse(response)) {
throw createError(response, "Failed host lookup: '$host'");
@@ -343,7 +343,7 @@ class _NativeSocket extends _NativeSocketNativeWrapper with _ServiceObject {
}
static Future<InternetAddress> reverseLookup(InternetAddress addr) {
- return _IOService._dispatch(_SOCKET_REVERSE_LOOKUP, [addr._in_addr])
+ return _IOService.dispatch(_SOCKET_REVERSE_LOOKUP, [addr._in_addr])
.then((response) {
if (isErrorResponse(response)) {
throw createError(response, "Failed reverse host lookup", addr);
@@ -357,7 +357,7 @@ class _NativeSocket extends _NativeSocketNativeWrapper with _ServiceObject {
bool includeLoopback: false,
bool includeLinkLocal: false,
InternetAddressType type: InternetAddressType.ANY}) {
- return _IOService._dispatch(_SOCKET_LIST_INTERFACES, [type._value])
+ return _IOService.dispatch(_SOCKET_LIST_INTERFACES, [type._value])
.then((response) {
if (isErrorResponse(response)) {
throw createError(response, "Failed listing interfaces");
« no previous file with comments | « runtime/bin/io_service_patch.dart ('k') | runtime/lib/mirrors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698