Index: content/public/browser/download_item.h |
diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h |
index 691a0e2b53c73c857bd58d27340e13d2f055bb7f..9eaf629612e7ca77f2f89701deba996ac6da7bd2 100644 |
--- a/content/public/browser/download_item.h |
+++ b/content/public/browser/download_item.h |
@@ -42,8 +42,6 @@ class BrowserContext; |
class DownloadId; |
class DownloadManager; |
class WebContents; |
-struct DownloadCreateInfo; |
-struct DownloadPersistentStoreInfo; |
// One DownloadItem per download. This is the model class that stores all the |
// state for a download. Multiple views, such as a tab's download shelf and the |
@@ -89,10 +87,6 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { |
// TARGET_DISPOSITION_OVERWRITE. |
}; |
- // A fake download table ID which represents a download that has started, |
- // but is not yet in the table. |
- static const int kUninitializedHandle; |
- |
static const char kEmptyFileHash[]; |
// Interface that observers of a particular download must implement in order |
@@ -157,7 +151,6 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { |
virtual int32 GetId() const = 0; |
virtual DownloadId GetGlobalId() const = 0; |
- virtual int64 GetDbHandle() const = 0; |
virtual DownloadState GetState() const = 0; |
// Only valid if |GetState() == DownloadItem::INTERRUPTED|. |
@@ -165,7 +158,6 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { |
virtual bool IsPaused() const = 0; |
virtual bool IsTemporary() const = 0; |
- virtual bool IsPersisted() const = 0; |
// Convenience routines for accessing GetState() results conceptually ----- |
@@ -299,7 +291,6 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { |
// Misc State accessors --------------------------------------------------- |
- virtual DownloadPersistentStoreInfo GetPersistentStoreInfo() const = 0; |
virtual BrowserContext* GetBrowserContext() const = 0; |
virtual WebContents* GetWebContents() const = 0; |