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

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

Issue 2724783002: Make the BackgroundFetchJobController a per-job object (Closed)
Patch Set: ACTUALLY fix the compile error Created 3 years, 9 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 17f37e584eb6c6115bbd1f958f46248bb4a931f9..031aabdc129b37718b972868f3969089971ac68c 100644
--- a/content/browser/background_fetch/background_fetch_data_manager_unittest.cc
+++ b/content/browser/background_fetch/background_fetch_data_manager_unittest.cc
@@ -60,7 +60,7 @@ TEST_F(BackgroundFetchDataManagerTest, AddRequest) {
// Initialize a BackgroundFetchJobData with the constructed requests.
BackgroundFetchDataManager* data_manager = GetDataManager();
- BackgroundFetchJobData* job_data =
+ std::unique_ptr<BackgroundFetchJobData> job_data =
data_manager->CreateRequest(job_info, request_infos);
// Get all of the fetch requests from the BackgroundFetchJobData.

Powered by Google App Engine
This is Rietveld 408576698