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

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

Issue 9639001: Move download interrupt reasons to content\public (the enum that's used by chrome). The rest keep i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits Created 8 years, 9 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: content/browser/download/download_item_impl.h
===================================================================
--- content/browser/download/download_item_impl.h (revision 125463)
+++ content/browser/download/download_item_impl.h (working copy)
@@ -131,7 +131,7 @@
virtual void MaybeCompleteDownload() OVERRIDE;
virtual void Interrupted(int64 size,
const std::string& hash_state,
- InterruptReason reason) OVERRIDE;
+ content::DownloadInterruptReason reason) OVERRIDE;
virtual void Delete(DeleteReason reason) OVERRIDE;
virtual void Remove() OVERRIDE;
virtual bool TimeRemaining(base::TimeDelta* remaining) const OVERRIDE;
@@ -194,7 +194,7 @@
virtual bool GetOpened() const OVERRIDE;
virtual const std::string& GetLastModifiedTime() const OVERRIDE;
virtual const std::string& GetETag() const OVERRIDE;
- virtual InterruptReason GetLastReason() const OVERRIDE;
+ virtual content::DownloadInterruptReason GetLastReason() const OVERRIDE;
virtual DownloadPersistentStoreInfo GetPersistentStoreInfo() const OVERRIDE;
virtual DownloadStateInfo GetStateInfo() const OVERRIDE;
virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
@@ -316,7 +316,7 @@
std::string etag_;
// Last reason.
- InterruptReason last_reason_;
+ content::DownloadInterruptReason last_reason_;
// Start time for recording statistics.
base::TimeTicks start_tick_;
« no previous file with comments | « content/browser/download/download_interrupt_reasons_impl.cc ('k') | content/browser/download/download_item_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698