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

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

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
« no previous file with comments | « content/browser/background_fetch/background_fetch_job_info.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/background_fetch/background_fetch_job_info.cc
diff --git a/content/browser/background_fetch/background_fetch_job_info.cc b/content/browser/background_fetch/background_fetch_job_info.cc
index 71c33ab5158799a1a6321243b29ceacf6539c85a..fa74413e7bc7aba3cd0bc5517fcb249bc6880804 100644
--- a/content/browser/background_fetch/background_fetch_job_info.cc
+++ b/content/browser/background_fetch/background_fetch_job_info.cc
@@ -17,6 +17,16 @@ BackgroundFetchJobInfo::BackgroundFetchJobInfo(
origin_(origin),
service_worker_registration_id_(service_worker_registration_id) {}
+BackgroundFetchJobInfo::BackgroundFetchJobInfo() = default;
+
+BackgroundFetchJobInfo::BackgroundFetchJobInfo(
+ const BackgroundFetchJobInfo& other)
+ : guid_(other.guid_),
+ tag_(other.tag_),
+ origin_(other.origin_),
+ service_worker_registration_id_(other.service_worker_registration_id_),
+ request_guids_(other.request_guids_) {}
+
BackgroundFetchJobInfo::~BackgroundFetchJobInfo() = default;
} // namespace content
« no previous file with comments | « content/browser/background_fetch/background_fetch_job_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698