Index: content/browser/download/download_manager_impl.h |
diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h |
index 0128c28f53379c839fb8da70496afac3c81a3e28..e9b13f69e708a22abc1f86778cd196f87f1b606b 100644 |
--- a/content/browser/download/download_manager_impl.h |
+++ b/content/browser/download/download_manager_impl.h |
@@ -108,6 +108,8 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager, |
base::Time last_access_time, |
bool transient, |
const std::vector<DownloadItem::ReceivedSlice>& received_slices) override; |
+ void PostInitialization() override; |
+ bool IsManagerInitialized() const override; |
int InProgressCount() const override; |
int NonMaliciousInProgressCount() const override; |
BrowserContext* GetBrowserContext() const override; |
@@ -227,6 +229,9 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager, |
// True if the download manager has been initialized and requires a shutdown. |
bool shutdown_needed_; |
+ // True if the download manager has been initialized and loaded all the data. |
+ bool initialized_; |
+ |
// Observers that want to be notified of changes to the set of downloads. |
base::ObserverList<Observer> observers_; |