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

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

Issue 2973233002: [Background Fetch] Cleanup/fix thread safety (Closed)
Patch Set: Remove n.b. from comments Created 3 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: content/browser/background_fetch/background_fetch_job_controller_unittest.cc
diff --git a/content/browser/background_fetch/background_fetch_job_controller_unittest.cc b/content/browser/background_fetch/background_fetch_job_controller_unittest.cc
index 2f0527f781d0778069eed2b9030d1b9317eefceb..201299eba207abbcdbb3a6a22dd6d90af81824ff 100644
--- a/content/browser/background_fetch/background_fetch_job_controller_unittest.cc
+++ b/content/browser/background_fetch/background_fetch_job_controller_unittest.cc
@@ -84,6 +84,8 @@ class BackgroundFetchJobControllerTest : public BackgroundFetchTestBase {
// Creates a new BackgroundFetchJobController instance.
std::unique_ptr<BackgroundFetchJobController> CreateJobController(
const BackgroundFetchRegistrationId& registration_id) {
+ // StoragePartition creates its own BackgroundFetchContext, but this test
+ // doesn't use that; it just uses the StoragePartition's URLRequestContext.
StoragePartition* storage_partition =
BrowserContext::GetDefaultStoragePartition(browser_context());

Powered by Google App Engine
This is Rietveld 408576698