summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download_file.h
diff options
context:
space:
mode:
authorpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 23:08:14 +0000
committerpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 23:08:14 +0000
commitbb69e9b391b68274089c5a6148548683af54bb19 (patch)
tree906dfe005c3b3ebf1765deaa8fd6f7326f0fe745 /chrome/browser/download_file.h
parent5656af67903d044c131bc07ebf41e0fc20bf1f29 (diff)
downloadchromium_src-bb69e9b391b68274089c5a6148548683af54bb19.zip
chromium_src-bb69e9b391b68274089c5a6148548683af54bb19.tar.gz
chromium_src-bb69e9b391b68274089c5a6148548683af54bb19.tar.bz2
Ensure that the default download directory exists when the
DownloadManager is initialized. BUG=1324355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download_file.h')
-rw-r--r--chrome/browser/download_file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/download_file.h b/chrome/browser/download_file.h
index 53be7c2..398a920 100644
--- a/chrome/browser/download_file.h
+++ b/chrome/browser/download_file.h
@@ -233,6 +233,10 @@ class DownloadFileManager
MessageLoop* file_loop() const { return file_loop_; }
+ // Called by the download manager at initialization to ensure the default
+ // download directory exists.
+ void CreateDirectory(const std::wstring& directory);
+
private:
// Timer helpers for updating the UI about the current progress of a download.
void StartUpdateTimer();