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

Unified Diff: content/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: Applied Pawel's comments Created 9 years, 4 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
« no previous file with comments | « content/browser/download/base_file.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/save_package.h
diff --git a/content/browser/download/save_package.h b/content/browser/download/save_package.h
index 76e4b62d8607c54fe278f55de34b5627fb5b480c..f2ad1da607fbefccf5b5e3f0e4ce34e346ab3c32 100644
--- a/content/browser/download/save_package.h
+++ b/content/browser/download/save_package.h
@@ -129,6 +129,10 @@ class SavePackage : public base::RefCountedThreadSafe<SavePackage>,
return TabContentsObserver::tab_contents();
}
+ // 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 -------------------------------------------------------------------
« no previous file with comments | « content/browser/download/base_file.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698