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

Unified Diff: frog/leg/lib/io.dart

Issue 9705037: Add new core ("dart:") libraries to frog so that apidoc can find them. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | frog/reader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/lib/io.dart
diff --git a/frog/leg/lib/io.dart b/frog/leg/lib/io.dart
index 6ee3404e0bc2d456f358be38c772627a7fad401a..ea3c69b2d130b650c114d580434b07a9f0aac700 100644
--- a/frog/leg/lib/io.dart
+++ b/frog/leg/lib/io.dart
@@ -16,6 +16,7 @@
// #import("dart:nativewrappers");
#import("dart:uri");
#source('../../../runtime/bin/buffer_list.dart');
+#source('../../../runtime/bin/common.dart');
#source('../../../runtime/bin/chunked_stream.dart');
#source('../../../runtime/bin/directory.dart');
// Uses native keyword.
@@ -78,6 +79,13 @@ class _Process implements Process {
}
}
+class _ServerSocket implements ServerSocket {
+ factory _ServerSocket(String bindAddress, int port, int backlog) {
+ throw new UnsupportedOperationException(
+ 'new ServerSocket($bindAddress, $port, $backlog)');
+ }
+}
+
class _Socket implements Socket {
factory Socket(String host, int port) {
throw new UnsupportedOperationException('new Socket($host, $int)');
« no previous file with comments | « no previous file | frog/reader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698