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

Unified Diff: runtime/bin/file.dart

Issue 9494004: Fix type warnings in dart:io library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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/file_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file.dart
diff --git a/runtime/bin/file.dart b/runtime/bin/file.dart
index 492617d2278f9c005909bcb40aafdd2427c56741..f48d9993eb04a5c282d0bc3822113b3bb666ca6c 100644
--- a/runtime/bin/file.dart
+++ b/runtime/bin/file.dart
@@ -132,7 +132,7 @@ interface File default _File {
* resources. The [inputStreamHandler] is called with the result
* when the openInputStream operation completes.
*/
- InputStream openInputStream();
+ void openInputStream();
/**
* Synchronously create a new independent input stream for the
@@ -148,7 +148,8 @@ interface File default _File {
/**
* Creates a new independent output stream for the file. The file
* output stream must be closed when no longer used to free up
- * system resources.
+ * system resources. The [outputStreamHandler] is called with the result
+ * when the openOutputStream operation completes.
*
* An output stream can be opened in two modes:
*
@@ -160,7 +161,7 @@ interface File default _File {
*
* By default the mode is FileMode.WRITE.
*/
- OutputStream openOutputStream([FileMode mode]);
+ void openOutputStream([FileMode mode]);
/**
* Synchronously creates a new independent output stream for the
« no previous file with comments | « no previous file | runtime/bin/file_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698