| Index: content/browser/background_fetch/background_fetch_job_data.cc
|
| diff --git a/content/browser/background_fetch/background_fetch_job_data.cc b/content/browser/background_fetch/background_fetch_job_data.cc
|
| index a434d7fd344c8b16d29c0a0f4153c66f5db14828..a8f240c93d8ba3821797af42fb7efd0c9f924874 100644
|
| --- a/content/browser/background_fetch/background_fetch_job_data.cc
|
| +++ b/content/browser/background_fetch/background_fetch_job_data.cc
|
| @@ -54,4 +54,11 @@ bool BackgroundFetchJobData::HasRequestsRemaining() const {
|
| return next_request_info_ != request_infos_.size();
|
| }
|
|
|
| +void BackgroundFetchJobData::SetRequestDownloadGuid(
|
| + const std::string& request_guid,
|
| + const std::string& download_guid) {
|
| + auto index_iter = request_info_index_.find(request_guid);
|
| + DCHECK(index_iter != request_info_index_.end());
|
| + request_infos_[index_iter->second].set_download_guid(download_guid);
|
| +}
|
| } // namespace content
|
|
|