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

Unified Diff: runtime/bin/http_impl.dart

Issue 9969202: Add method flush to output stream (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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
Index: runtime/bin/http_impl.dart
diff --git a/runtime/bin/http_impl.dart b/runtime/bin/http_impl.dart
index f8475ca2ab5a99c940052e0d2d8570afd56a8976..e9801de55538ee3191605325014c886f96575d92 100644
--- a/runtime/bin/http_impl.dart
+++ b/runtime/bin/http_impl.dart
@@ -580,6 +580,10 @@ class _HttpOutputStream extends _BaseOutputStream implements OutputStream {
return _requestOrResponse._streamWriteFrom(buffer, offset, len);
}
+ void flush() {
+ // Nothing to do on a HTTP output stream.
+ }
+
void close() {
_requestOrResponse._streamClose();
}

Powered by Google App Engine
This is Rietveld 408576698