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

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

Issue 2724783002: Make the BackgroundFetchJobController a per-job object (Closed)
Patch Set: ACTUALLY fix the compile error 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 61653b350d7d973ea5afa9fd78895bb197df9456..0b713f1c863f4d555df24584b65815414f58da0e 100644
--- a/content/browser/background_fetch/background_fetch_job_data.h
+++ b/content/browser/background_fetch/background_fetch_job_data.h
@@ -20,7 +20,7 @@ namespace content {
// to the DataManager and invokes calls given the stored batch_guid.
class CONTENT_EXPORT BackgroundFetchJobData {
public:
- explicit BackgroundFetchJobData(BackgroundFetchRequestInfos request_infos);
+ explicit BackgroundFetchJobData(BackgroundFetchRequestInfos& request_infos);
~BackgroundFetchJobData();
// Called by the JobController to inform the JobData that the given fetch
@@ -39,7 +39,7 @@ class CONTENT_EXPORT BackgroundFetchJobData {
bool IsComplete() const;
private:
- BackgroundFetchRequestInfos request_infos_;
+ BackgroundFetchRequestInfos& request_infos_;
// Map from fetch_guid to index in request_infos_. Only currently
// outstanding requests should be in this map.

Powered by Google App Engine
This is Rietveld 408576698