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

Unified Diff: chrome/browser/download/base_file.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: Overrides the user's "Downloads" folder in DownloadPrefs 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
« no previous file with comments | « no previous file | chrome/browser/download/base_file.cc » ('j') | chrome/browser/download/base_file.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/base_file.h
diff --git a/chrome/browser/download/base_file.h b/chrome/browser/download/base_file.h
index 02563b7e6b92deb0f93dba96a9a178d75577188f..811767422b5426aa93b4d2319e7cf0e6b7887e5c 100644
--- a/chrome/browser/download/base_file.h
+++ b/chrome/browser/download/base_file.h
@@ -33,7 +33,7 @@ class BaseFile {
virtual ~BaseFile();
// If calculate_hash is true, sha256 hash will be calculated.
- bool Initialize(bool calculate_hash);
+ bool Initialize(bool calculate_hash, const FilePath& save_path);
Paweł Hajdan Jr. 2011/06/15 09:31:33 nit: Please document |save_path|.
haraken1 2011/06/15 10:39:45 Done.
// Write a new chunk of data to the file. Returns true on success (all bytes
// written to the file).
« no previous file with comments | « no previous file | chrome/browser/download/base_file.cc » ('j') | chrome/browser/download/base_file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698