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

Unified Diff: content/public/browser/download_item.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
« no previous file with comments | « content/public/browser/download_interrupt_reasons.h ('k') | content/public/browser/download_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_item.h
===================================================================
--- content/public/browser/download_item.h (revision 125463)
+++ content/public/browser/download_item.h (working copy)
@@ -23,8 +23,8 @@
#include "base/string16.h"
#include "content/browser/download/download_state_info.h"
-#include "content/browser/download/interrupt_reasons.h"
#include "content/public/browser/download_danger_type.h"
+#include "content/public/browser/download_interrupt_reasons.h"
class DownloadFileManager;
class FilePath;
@@ -183,7 +183,7 @@
// |reason| is the download interrupt reason code that the operation received.
virtual void Interrupted(int64 size,
const std::string& hash_state,
- InterruptReason reason) = 0;
+ DownloadInterruptReason reason) = 0;
// Deletes the file from disk and removes the download from the views and
// history. |user| should be true if this is the result of the user clicking
@@ -301,7 +301,7 @@
virtual const std::string& GetLastModifiedTime() const = 0;
virtual const std::string& GetETag() const = 0;
- virtual InterruptReason GetLastReason() const = 0;
+ virtual DownloadInterruptReason GetLastReason() const = 0;
virtual DownloadPersistentStoreInfo GetPersistentStoreInfo() const = 0;
virtual DownloadStateInfo GetStateInfo() const = 0;
virtual BrowserContext* GetBrowserContext() const = 0;
« no previous file with comments | « content/public/browser/download_interrupt_reasons.h ('k') | content/public/browser/download_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698