Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1540)

Unified Diff: chrome/browser/download/save_package.h

Issue 6973052: When the download folder does not exist, change the download folder to a user's "Downloads" (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove PathServiceWrapper and add DefaultDownloadDirectory Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/save_package.h
diff --git a/chrome/browser/download/save_package.h b/chrome/browser/download/save_package.h
index 74f55267f413a098d4aeefbdcf411792123bf614..03966a976264f72be2ca770481e5cda2b3669f26 100644
--- a/chrome/browser/download/save_package.h
+++ b/chrome/browser/download/save_package.h
@@ -124,6 +124,10 @@ class SavePackage : public base::RefCountedThreadSafe<SavePackage>,
int tab_id() const { return tab_id_; }
int id() const { return unique_id_; }
+ // Determines the saved file name based on the information of the
+ // current page, and then starts to download the page. This method
+ // runs in the background and may finish asynchronously after this
+ // method returns.
void GetSaveInfo();
// Statics -------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698