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

Unified Diff: content/browser/background_fetch/background_fetch_request_info.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_request_info.h
diff --git a/content/browser/background_fetch/background_fetch_request_info.h b/content/browser/background_fetch/background_fetch_request_info.h
index 434ae070b5023d2759063397a834e6a920c73ad5..15ce167856a9ef95202a304376ce3265c754df08 100644
--- a/content/browser/background_fetch/background_fetch_request_info.h
+++ b/content/browser/background_fetch/background_fetch_request_info.h
@@ -29,11 +29,17 @@ class CONTENT_EXPORT BackgroundFetchRequestInfo {
bool complete() const { return complete_; }
void set_complete(bool complete) { complete_ = complete; }
+ const std::string& download_guid() const { return download_guid_; }
+ void set_download_guid(const std::string& download_guid) {
+ download_guid_ = download_guid;
+ }
+
private:
std::string guid_;
GURL url_;
std::string tag_;
bool complete_ = false;
+ std::string download_guid_;
};
using BackgroundFetchRequestInfos = std::vector<BackgroundFetchRequestInfo>;

Powered by Google App Engine
This is Rietveld 408576698