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

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

Issue 7192016: chrome.experimental.downloads (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merged db_handle, id; onCreated, onErased 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
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698