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

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

Issue 2727253002: Added DownloadItem::Observer to JobController. (Closed)
Patch Set: Cleanup Created 3 years, 10 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 61653b350d7d973ea5afa9fd78895bb197df9456..0e9fe4ba5ccc23deebc5ffd3818a13dba091d3d3 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