Chromium Code Reviews| Index: chrome/browser/ui/download/download_tab_helper.h |
| diff --git a/chrome/browser/ui/download/download_tab_helper.h b/chrome/browser/ui/download/download_tab_helper.h |
| index ac559136eb7b74d2056acbd2bdd50d8c95cb87db..7f3f7e0c86e00852510dac9219a66d78dead8109 100644 |
| --- a/chrome/browser/ui/download/download_tab_helper.h |
| +++ b/chrome/browser/ui/download/download_tab_helper.h |
| @@ -37,6 +37,14 @@ class DownloadTabHelper : public TabContentsObserver { |
| bool SavePage(const FilePath& main_file, const FilePath& dir_path, |
| SavePackage::SavePackageType save_type); |
| + // Save page. |website_save_dir| is the default folder for saving HTML. |
| + // |download_save_dir| is the default folder for saving downloaded files. |
| + // |save_type| is HTML only or complete web page. |
| + // Returns the title of saved page. |
| + string16 SavePageToProperDirectory(const FilePath& website_save_dir, |
| + const FilePath& download_save_dir, |
| + SavePackage::SavePackageType save_type); |
|
Randy Smith (Not in Mondays)
2011/05/31 23:03:10
In general, I feel better about methods that are o
haraken1
2011/06/02 09:13:22
If we simply make these methods private and add FR
haraken1
2011/06/02 09:13:22
If we simply make these methods private and add FR
Randy Smith (Not in Mondays)
2011/06/02 19:13:57
What I've always done is move the tests (but not a
haraken1
2011/06/03 06:50:26
Done.
|
| + |
| // Returns the SavePackage which manages the page saving job. May be NULL. |
| SavePackage* save_package() const { return save_package_.get(); } |