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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 7237034: sql::MetaTable.next_download_id, DownloadManager::GetNextId() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: sql::MetaTable.next_download_id, DownloadId, DownloadManager::GetNextId() 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: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index b8478be71bb1abe8ebe45e337f7e42d6c7fc58e2..692023b6d3c32241fdc3181af5c1af9c3c1c162d 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -17,6 +17,7 @@
#include "chrome/browser/prefs/pref_member.h"
#include "content/browser/resource_context.h"
#include "net/base/cookie_monster.h"
+#include "chrome/browser/download/download_manager.h"
class CommandLine;
class ChromeAppCacheService;
@@ -112,6 +113,10 @@ class ProfileIOData : public base::RefCountedThreadSafe<ProfileIOData> {
return &safe_browsing_enabled_;
}
+ const DownloadManager::GetNextIdThunkType& next_download_id_thunk() const {
+ return next_download_id_thunk_;
+ }
+
protected:
friend class base::RefCountedThreadSafe<ProfileIOData>;
@@ -275,6 +280,8 @@ class ProfileIOData : public base::RefCountedThreadSafe<ProfileIOData> {
mutable BooleanPrefMember clear_local_state_on_exit_;
mutable BooleanPrefMember safe_browsing_enabled_;
+ mutable DownloadManager::GetNextIdThunkType next_download_id_thunk_;
+
// Pointed to by URLRequestContext.
mutable scoped_ptr<ChromeURLDataManagerBackend>
chrome_url_data_manager_backend_;

Powered by Google App Engine
This is Rietveld 408576698