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

Unified Diff: content/browser/background_fetch/background_fetch_job_data.h

Issue 2727253002: Added DownloadItem::Observer to JobController. (Closed)
Patch Set: Added TODO 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_data.h
diff --git a/content/browser/background_fetch/background_fetch_job_data.h b/content/browser/background_fetch/background_fetch_job_data.h
index 0b713f1c863f4d555df24584b65815414f58da0e..7cd89d1a358639f3b4667a2b27a57cc78cf67dc2 100644
--- a/content/browser/background_fetch/background_fetch_job_data.h
+++ b/content/browser/background_fetch/background_fetch_job_data.h
@@ -38,6 +38,11 @@ class CONTENT_EXPORT BackgroundFetchJobData {
// Indicates whether all requests have been handed out and completed.
bool IsComplete() const;
+ // Inform the JobData of the GUID the DownloadManager assigned to this
+ // request.
+ void SetRequestDownloadGuid(const std::string& request_guid,
+ const std::string& download_guid);
+
private:
BackgroundFetchRequestInfos& request_infos_;

Powered by Google App Engine
This is Rietveld 408576698