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

Unified Diff: content/browser/download/download_file_impl.h

Issue 10696043: Shifted DownloadFile to exporting DownloadInterruptReasons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to TOT. Created 8 years, 6 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 | « content/browser/download/download_file.h ('k') | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file_impl.h
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h
index c00babdc35d3dced6aec23d4b925ced398e31f26..3b3e71541ead4c598d35ff80585e20a14da3c14a 100644
--- a/content/browser/download/download_file_impl.h
+++ b/content/browser/download/download_file_impl.h
@@ -40,8 +40,9 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public content::DownloadFile {
virtual ~DownloadFileImpl();
// DownloadFile functions.
- virtual net::Error Initialize() OVERRIDE;
- virtual net::Error Rename(const FilePath& full_path) OVERRIDE;
+ virtual content::DownloadInterruptReason Initialize() OVERRIDE;
+ virtual content::DownloadInterruptReason Rename(
+ const FilePath& full_path) OVERRIDE;
virtual void Detach() OVERRIDE;
virtual void Cancel() OVERRIDE;
virtual void AnnotateWithSourceInformation() OVERRIDE;
@@ -59,8 +60,8 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public content::DownloadFile {
protected:
// For test class overrides.
- virtual net::Error AppendDataToFile(const char* data,
- size_t data_len);
+ virtual content::DownloadInterruptReason AppendDataToFile(
+ const char* data, size_t data_len);
private:
// Called when there's some activity on stream_reader_ that needs to be
« no previous file with comments | « content/browser/download/download_file.h ('k') | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698