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

Unified Diff: chrome/browser/download/download_browsertest.cc

Issue 10799005: Replace the DownloadFileManager with direct ownership (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to LKGR. Created 8 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 | « no previous file | content/browser/browser_context.cc » ('j') | content/browser/download/download_file.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_browsertest.cc
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index a0ed0df2b1999abb7d09a0eee5168dbcc3b479d2..457720b0f54481084e3a394ac68203751fd4e2da 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -803,7 +803,8 @@ class DownloadTest : public InProcessBrowserTest {
// Set up file failures.
scoped_refptr<content::TestFileErrorInjector> injector(
- content::TestFileErrorInjector::Create());
+ content::TestFileErrorInjector::Create(
+ DownloadManagerForBrowser(browser())));
for (size_t i = 0; i < count; ++i) {
// Set up the full URL, for download file tracking.
« no previous file with comments | « no previous file | content/browser/browser_context.cc » ('j') | content/browser/download/download_file.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698