Index: content/browser/resource_context.h |
diff --git a/content/browser/resource_context.h b/content/browser/resource_context.h |
index f53de50058e20463a6a373c3c297b793d7d1f42d..5ae89eb23b724125b18408def2a427fc7f6a37af 100644 |
--- a/content/browser/resource_context.h |
+++ b/content/browser/resource_context.h |
@@ -11,6 +11,7 @@ |
#include "base/callback.h" |
#include "base/memory/ref_counted.h" |
#include "content/common/content_export.h" |
+#include "content/browser/download/download_manager.h" |
class ChromeAppCacheService; |
class ChromeBlobStorageContext; |
@@ -76,6 +77,11 @@ class CONTENT_EXPORT ResourceContext { |
MediaObserver* media_observer() const; |
void set_media_observer(MediaObserver* media_observer); |
+ // TODO(benjhayden): Promote GetNextIdThunkType to a separate object. |
+ const DownloadManager::GetNextIdThunkType& next_download_id_thunk() const; |
+ void set_next_download_id_thunk( |
+ const DownloadManager::GetNextIdThunkType& thunk); |
+ |
// ======================================================================= |
// TODO(willchan): These don't belong in content/. Remove them eventually. |
@@ -101,6 +107,7 @@ class CONTENT_EXPORT ResourceContext { |
quota::QuotaManager* quota_manager_; |
HostZoomMap* host_zoom_map_; |
MediaObserver* media_observer_; |
+ DownloadManager::GetNextIdThunkType next_download_id_thunk_; |
// Externally-defined data accessible by key. |
typedef std::map<const void*, void*> UserDataMap; |