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

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

Issue 2753583002: Add the JobComplete callback and error/interrupt information (Closed)
Patch Set: added argument name 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_request_info.cc
diff --git a/content/browser/background_fetch/background_fetch_request_info.cc b/content/browser/background_fetch/background_fetch_request_info.cc
index 7c32613bc000f1ad9493936c8fc86625fd3b3b8c..32cb29538b17f3bac854be7136af324190d3a848 100644
--- a/content/browser/background_fetch/background_fetch_request_info.cc
+++ b/content/browser/background_fetch/background_fetch_request_info.cc
@@ -22,8 +22,9 @@ BackgroundFetchRequestInfo::BackgroundFetchRequestInfo(
: guid_(request.guid_),
url_(request.url_),
tag_(request.tag_),
- complete_(request.complete_),
- download_guid_(request.download_guid_) {}
+ download_guid_(request.download_guid_),
+ state_(request.state_),
+ interrupt_reason_(request.interrupt_reason_) {}
BackgroundFetchRequestInfo::~BackgroundFetchRequestInfo() = default;
« no previous file with comments | « content/browser/background_fetch/background_fetch_request_info.h ('k') | content/public/test/fake_download_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698