Index: content/child/background_sync/background_sync_provider_thread_proxy.cc |
diff --git a/content/child/background_sync/background_sync_provider_thread_proxy.cc b/content/child/background_sync/background_sync_provider_thread_proxy.cc |
index 90584bfc8380a6d31a2280ddd33303e83e52439a..8dc397e8a9967209ba544b0b5926a3f87521aab3 100644 |
--- a/content/child/background_sync/background_sync_provider_thread_proxy.cc |
+++ b/content/child/background_sync/background_sync_provider_thread_proxy.cc |
@@ -170,6 +170,19 @@ void BackgroundSyncProviderThreadProxy::getPermissionStatus( |
WorkerTaskRunner::Instance()->CurrentWorkerId()))); |
} |
+void BackgroundSyncProviderThreadProxy::trackRegistration( |
+ blink::WebSyncRegistration* registration) { |
+ main_thread_task_runner_->PostTask( |
+ FROM_HERE, base::Bind(&BackgroundSyncProvider::trackRegistration, |
+ base::Unretained(sync_provider_), registration)); |
+} |
+ |
+void BackgroundSyncProviderThreadProxy::releaseRegistration(int64_t sync_id) { |
+ main_thread_task_runner_->PostTask( |
+ FROM_HERE, base::Bind(&BackgroundSyncProvider::releaseRegistration, |
+ base::Unretained(sync_provider_), sync_id)); |
+} |
+ |
void BackgroundSyncProviderThreadProxy::OnWorkerRunLoopStopped() { |
delete this; |
} |