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

Unified Diff: net/url_request/url_fetcher_response_writer.h

Issue 23500006: URLFetcher won't call delegate until file is closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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_fetcher_response_writer.h
diff --git a/net/url_request/url_fetcher_response_writer.h b/net/url_request/url_fetcher_response_writer.h
index 3b7fe9eb54669b1476f268bd9eff4cf22db3a9e4..2f15831873d6daf6c0329b58b8ad91877b2b891b 100644
--- a/net/url_request/url_fetcher_response_writer.h
+++ b/net/url_request/url_fetcher_response_writer.h
@@ -112,6 +112,9 @@ class URLFetcherFileWriter : public URLFetcherResponseWriter {
void DidOpenFile(const CompletionCallback& callback,
int result);
+ // Callback which gets the result of closing a file.
+ void CloseComplete(const CompletionCallback& callback, int result);
+
// The last error encountered on a file operation. OK if no error occurred.
int error_code_;

Powered by Google App Engine
This is Rietveld 408576698