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

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

Issue 2778793002: Start aligning BackgroundFetchRequestInfo with the passed in request object. (Closed)
Patch Set: Rebase 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_job_controller.cc
diff --git a/content/browser/background_fetch/background_fetch_job_controller.cc b/content/browser/background_fetch/background_fetch_job_controller.cc
index 5d7ddab5a99594ffefdc513ce0a75dc73db673bb..0e045cf0afafb873df690658ad9921b0e3e4fc48 100644
--- a/content/browser/background_fetch/background_fetch_job_controller.cc
+++ b/content/browser/background_fetch/background_fetch_job_controller.cc
@@ -130,7 +130,7 @@ void BackgroundFetchJobController::ProcessRequest(
// Set up the download parameters and the OnStartedCallback.
std::unique_ptr<DownloadUrlParameters> params(
base::MakeUnique<DownloadUrlParameters>(
- fetch_request.url(), storage_partition_->GetURLRequestContext()));
+ fetch_request.GetURL(), storage_partition_->GetURLRequestContext()));
params->set_callback(
base::Bind(&BackgroundFetchJobController::DownloadStarted,
weak_ptr_factory_.GetWeakPtr(), fetch_request.guid()));

Powered by Google App Engine
This is Rietveld 408576698