diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-23 22:14:05 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-23 22:14:05 +0000 |
commit | fcbc957b9c7f4f19fdac3d6fec1de923eea9344a (patch) | |
tree | 98e4e4475386a65636630bd2223a83abfc435f70 /chrome/browser/download/download_manager.cc | |
parent | 589621be31d785936fa1bef364077300bb495d12 (diff) | |
download | chromium_src-fcbc957b9c7f4f19fdac3d6fec1de923eea9344a.zip chromium_src-fcbc957b9c7f4f19fdac3d6fec1de923eea9344a.tar.gz chromium_src-fcbc957b9c7f4f19fdac3d6fec1de923eea9344a.tar.bz2 |
Downloads: Don't create the default download directory on startup.
BUG=56021
TEST=see bug.
Review URL: http://codereview.chromium.org/3386024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_manager.cc')
-rw-r--r-- | chrome/browser/download/download_manager.cc | 5 |
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)); |