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

Unified Diff: content/shell/shell_resource_context.h

Issue 8401001: Fix history importing by delaying DownloadManager creation. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix ifndefs Created 9 years, 2 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 | « content/shell/shell_browser_context.cc ('k') | content/shell/shell_resource_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_resource_context.h
diff --git a/content/shell/shell_resource_context.h b/content/shell/shell_resource_context.h
index bafb05bb133a765de2c5ccbcaf2f427cae83e88e..710778ea5d62840e2c7c7482f2fe81654b00a15b 100644
--- a/content/shell/shell_resource_context.h
+++ b/content/shell/shell_resource_context.h
@@ -8,10 +8,10 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "content/browser/download/download_manager.h"
#include "content/browser/resource_context.h"
class ChromeBlobStorageContext;
+class DownloadIdFactory;
namespace content {
@@ -22,7 +22,7 @@ class ShellResourceContext : public content::ResourceContext {
ShellResourceContext(
ShellURLRequestContextGetter* getter,
ChromeBlobStorageContext* blob_storage_context,
- DownloadManager::GetNextIdThunkType next_download_id_thunk);
+ DownloadIdFactory* download_id_factory);
virtual ~ShellResourceContext();
private:
@@ -32,7 +32,7 @@ class ShellResourceContext : public content::ResourceContext {
scoped_refptr<ShellURLRequestContextGetter> getter_;
scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
- DownloadManager::GetNextIdThunkType next_download_id_thunk_;
+ scoped_refptr<DownloadIdFactory> download_id_factory_;
DISALLOW_COPY_AND_ASSIGN(ShellResourceContext);
};
« no previous file with comments | « content/shell/shell_browser_context.cc ('k') | content/shell/shell_resource_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698