diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 22:36:23 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 22:36:23 +0000 |
commit | 966f82b6db7e8c4c6d1da79a97fe82a878697e2b (patch) | |
tree | 796f1e7873707bcffb098db9369508c15c04be3f /chrome/browser/download/save_package.h | |
parent | 07efa3c8644d88f43224f9cb14a65507c82cba87 (diff) | |
download | chromium_src-966f82b6db7e8c4c6d1da79a97fe82a878697e2b.zip chromium_src-966f82b6db7e8c4c6d1da79a97fe82a878697e2b.tar.gz chromium_src-966f82b6db7e8c4c6d1da79a97fe82a878697e2b.tar.bz2 |
Create the download folder if it doesn't exist. That is, the actual download folder, not the default one.
BUG=21759
TEST=none
Review URL: http://codereview.chromium.org/219017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27266 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/save_package.h')
-rw-r--r-- | chrome/browser/download/save_package.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/download/save_package.h b/chrome/browser/download/save_package.h index 224cee2..4b74c14 100644 --- a/chrome/browser/download/save_package.h +++ b/chrome/browser/download/save_package.h @@ -130,6 +130,7 @@ class SavePackage : public base::RefCountedThreadSafe<SavePackage>, int tab_id() const { return tab_id_; } void GetSaveInfo(); + void ContinueGetSaveInfo(FilePath save_dir); void ContinueSave(SavePackageParam* param, const FilePath& final_name, int index); @@ -199,6 +200,9 @@ class SavePackage : public base::RefCountedThreadSafe<SavePackage>, SavePackage(const FilePath& file_full_path, const FilePath& directory_full_path); + // Notes from Init() above applies here as well. + void InternalInit(); + void Stop(); void CheckFinish(); void SaveNextFile(bool process_all_remainder_items); |