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

Unified Diff: net/url_request/url_request_file_job.h

Issue 10701050: net: Implement canceling of all async operations in FileStream. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Update after http://crrev.com/159454 Created 8 years, 3 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/url_request/url_request_file_job.h
diff --git a/net/url_request/url_request_file_job.h b/net/url_request/url_request_file_job.h
index 4f34314d413872df21c8f1be9694bc34ad01d3f8..8d1432cea1abd033d316a9d5d5af2bc79149afdc 100644
--- a/net/url_request/url_request_file_job.h
+++ b/net/url_request/url_request_file_job.h
@@ -56,7 +56,7 @@ class NET_EXPORT URLRequestFileJob : public URLRequestJob {
// Callback after data is asynchronously read from the file.
void DidRead(int result);
- FileStream stream_;
+ scoped_ptr<FileStream> stream_;
bool is_directory_;
HttpByteRange byte_range_;

Powered by Google App Engine
This is Rietveld 408576698