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

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

Issue 2782553007: Implement the new polling system in the BackgroundFetchJobController (Closed)
Patch Set: Implement the new polling system in the BFJobController 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 14f90496915a52f37ca7c7c7acabf4f5fe20c70f..68aa0db9c6b23687f4f0efa6b0b7a50b023ffc1d 100644
--- a/content/browser/background_fetch/background_fetch_request_info.cc
+++ b/content/browser/background_fetch/background_fetch_request_info.cc
@@ -14,8 +14,11 @@ namespace content {
BackgroundFetchRequestInfo::BackgroundFetchRequestInfo() = default;
BackgroundFetchRequestInfo::BackgroundFetchRequestInfo(
+ int request_index,
const ServiceWorkerFetchRequest& fetch_request)
- : fetch_request_(fetch_request), guid_(base::GenerateGUID()) {}
+ : request_index_(request_index),
+ fetch_request_(fetch_request),
+ guid_(base::GenerateGUID()) {}
BackgroundFetchRequestInfo::BackgroundFetchRequestInfo(
const BackgroundFetchRequestInfo& request)

Powered by Google App Engine
This is Rietveld 408576698