summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_manager.cc')
-rw-r--r--chrome/browser/download/download_manager.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc
index dd35022..c15d688 100644
--- a/chrome/browser/download/download_manager.cc
+++ b/chrome/browser/download/download_manager.cc
@@ -227,6 +227,11 @@ bool DownloadManager::Init(Profile* profile) {
DCHECK(file_manager_);
}
+ ChromeThread::PostTask(
+ ChromeThread::FILE, FROM_HERE,
+ NewRunnableFunction(&file_util::CreateDirectory,
+ download_prefs()->download_path()));
+
other_download_manager_observer_.reset(
new OtherDownloadManagerObserver(this));