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

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: " 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 f2a3e92063e6d9ecce920ef54e8d889f055b5cd0..91974cbfbc4eeaceea1668b139d184f30de8c62c 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -18,6 +18,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;
@@ -113,6 +114,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>;
@@ -277,6 +282,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