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

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: Added URLRequestMockHTTPJob.test_dir_ and URLRequestMockHTTPJob.temp_dir_ Created 9 years, 5 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: content/browser/download/save_package.h
diff --git a/content/browser/download/save_package.h b/content/browser/download/save_package.h
index 2c828a35fe99eed68dc851d7895e34a8f9324685..f31f5dcf60efa186c39550e12e71def5574143b0 100644
--- a/content/browser/download/save_package.h
+++ b/content/browser/download/save_package.h
@@ -130,6 +130,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 -------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698