Index: chrome/browser/download/download_prefs.h |
diff --git a/chrome/browser/download/download_prefs.h b/chrome/browser/download/download_prefs.h |
index cd7bad44e961bc81369d67d8d1d3d9be28c9dce3..796cc4005cb0cd3d0c8f97a561b10f9f62698b3d 100644 |
--- a/chrome/browser/download/download_prefs.h |
+++ b/chrome/browser/download/download_prefs.h |
@@ -21,6 +21,9 @@ class DownloadPrefs { |
static void RegisterUserPrefs(PrefService* prefs); |
+ // Return the next download id and increment the counter. |
+ int GetNextId(); |
+ |
FilePath download_path() const { return *download_path_; } |
int save_file_type() const { return *save_file_type_; } |
@@ -53,6 +56,7 @@ class DownloadPrefs { |
PrefService* prefs_; |
+ IntegerPrefMember next_download_id_; |
BooleanPrefMember prompt_for_download_; |
FilePathPrefMember download_path_; |
IntegerPrefMember save_file_type_; |