Index: content/browser/background_sync/background_sync_service_impl.cc |
diff --git a/content/browser/background_sync/background_sync_service_impl.cc b/content/browser/background_sync/background_sync_service_impl.cc |
index 7c9507f685a8ee3188ec7d2262d93949c20e2ed8..1a38a4f8fd715911865a597e6041b7e0b6f07d22 100644 |
--- a/content/browser/background_sync/background_sync_service_impl.cc |
+++ b/content/browser/background_sync/background_sync_service_impl.cc |
@@ -111,6 +111,7 @@ void BackgroundSyncServiceImpl::OnConnectionError() { |
void BackgroundSyncServiceImpl::Register(content::SyncRegistrationPtr options, |
int64_t sw_registration_id, |
+ bool requested_from_service_worker, |
const RegisterCallback& callback) { |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
@@ -121,7 +122,7 @@ void BackgroundSyncServiceImpl::Register(content::SyncRegistrationPtr options, |
background_sync_context_->background_sync_manager(); |
DCHECK(background_sync_manager); |
background_sync_manager->Register( |
- sw_registration_id, mgr_options, |
+ sw_registration_id, mgr_options, requested_from_service_worker, |
base::Bind(&BackgroundSyncServiceImpl::OnRegisterResult, |
weak_ptr_factory_.GetWeakPtr(), callback)); |
} |