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

Unified Diff: content/browser/background_sync/background_sync_manager.cc

Issue 2168123002: [CacheStorage] Add metrics to the scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't use unnamed namespace in header file Created 4 years, 5 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_sync/background_sync_manager.cc
diff --git a/content/browser/background_sync/background_sync_manager.cc b/content/browser/background_sync/background_sync_manager.cc
index 859c530bc98fb224bea00c1b29437d16fc6b9fe5..72f263875be042b7df7c2be6c43d45e41c8dae28 100644
--- a/content/browser/background_sync/background_sync_manager.cc
+++ b/content/browser/background_sync/background_sync_manager.cc
@@ -275,7 +275,8 @@ void BackgroundSyncManager::EmulateDispatchSyncEvent(
BackgroundSyncManager::BackgroundSyncManager(
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context)
- : service_worker_context_(service_worker_context),
+ : op_scheduler_(CacheStorageSchedulerClient::CLIENT_BACKGROUND_SYNC),
+ service_worker_context_(service_worker_context),
parameters_(new BackgroundSyncParameters()),
disabled_(false),
num_firing_registrations_(0),

Powered by Google App Engine
This is Rietveld 408576698