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

Unified Diff: net/base/file_stream.cc

Issue 10701050: net: Implement canceling of all async operations in FileStream. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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: net/base/file_stream.cc
===================================================================
--- net/base/file_stream.cc (revision 145483)
+++ net/base/file_stream.cc (working copy)
@@ -26,6 +26,10 @@
impl_.CloseSync();
}
+void FileStream::CloseAndCancelAsync() {
+ impl_.CloseAndCancelAsync();
+}
+
int FileStream::Open(const FilePath& path, int open_flags,
const CompletionCallback& callback) {
return impl_.Open(path, open_flags, callback);

Powered by Google App Engine
This is Rietveld 408576698