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

Unified Diff: content/browser/background_fetch/background_fetch_data_manager_unittest.cc

Issue 2708943002: Create the BackgroundFetchBatchManager and initiate a download. (Closed)
Patch Set: Created 3 years, 10 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: content/browser/background_fetch/background_fetch_data_manager_unittest.cc
diff --git a/content/browser/background_fetch/background_fetch_data_manager_unittest.cc b/content/browser/background_fetch/background_fetch_data_manager_unittest.cc
index 64c31f1982c33cf991e6b6fe5400467bdd72f1c0..f21b89dc504c9ed267b2adc35b5f75bf349e9e45 100644
--- a/content/browser/background_fetch/background_fetch_data_manager_unittest.cc
+++ b/content/browser/background_fetch/background_fetch_data_manager_unittest.cc
@@ -28,9 +28,10 @@ class BackgroundFetchDataManagerTest : public testing::Test {
protected:
BackgroundFetchDataManagerTest()
: helper_(base::FilePath()),
- background_fetch_context_(
- new BackgroundFetchContext(&browser_context_,
- helper_.context_wrapper())) {}
+ background_fetch_context_(new BackgroundFetchContext(
+ &browser_context_,
+ BrowserContext::GetDefaultStoragePartition(&browser_context_),
+ helper_.context_wrapper())) {}
BackgroundFetchDataManager* GetDataManager() const {
return background_fetch_context_->GetDataManagerForTesting();

Powered by Google App Engine
This is Rietveld 408576698