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

Unified Diff: net/url_request/url_fetcher_response_writer.h

Issue 15711003: net: Move write flush responsiblity from URLFetcherResponseWriter to URLFetcherCore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comment Created 7 years, 7 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 | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_fetcher_response_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 85fabc556be955023a2b9d775058316767f5a1c7..3b7fe9eb54669b1476f268bd9eff4cf22db3a9e4 100644
--- a/net/url_request/url_fetcher_response_writer.h
+++ b/net/url_request/url_fetcher_response_writer.h
@@ -84,11 +84,8 @@ class URLFetcherFileWriter : public URLFetcherResponseWriter {
const CompletionCallback& callback) OVERRIDE;
virtual int Finish(const CompletionCallback& callback) OVERRIDE;
- // Called when a write has been done. Continues writing if there are more
- // bytes to write. Otherwise, runs |callback|.
- void ContinueWrite(scoped_refptr<DrainableIOBuffer> buffer,
- const CompletionCallback& callback,
- int result);
+ // Called when a write has been done.
+ void DidWrite(const CompletionCallback& callback, int result);
// Drops ownership of the file at |file_path_|.
// This class will not delete it or write to it again.
« no previous file with comments | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_fetcher_response_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698