| Index: content/child/background_sync/background_sync_provider_thread_proxy.h
|
| diff --git a/content/child/background_sync/background_sync_provider_thread_proxy.h b/content/child/background_sync/background_sync_provider_thread_proxy.h
|
| index 7b6e8fe0e80a71f71c10953885f4edd3f6fd0c90..9971909077988f495007c46a92d8abe952e9bc90 100644
|
| --- a/content/child/background_sync/background_sync_provider_thread_proxy.h
|
| +++ b/content/child/background_sync/background_sync_provider_thread_proxy.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "content/child/worker_task_runner.h"
|
| +#include "content/common/background_sync_service.mojom.h"
|
| #include "content/public/child/worker_thread.h"
|
| #include "third_party/WebKit/public/platform/modules/background_sync/WebSyncProvider.h"
|
|
|
| @@ -57,6 +58,14 @@ class BackgroundSyncProviderThreadProxy : public blink::WebSyncProvider,
|
| blink::WebSyncRegistration::Periodicity periodicity,
|
| blink::WebServiceWorkerRegistration* service_worker_registration,
|
| blink::WebSyncGetPermissionStatusCallbacks* callbacks);
|
| + void releaseRegistration(int64_t handle_id);
|
| +
|
| + // Given |handle_id|, ask the provider for a new handle with the same
|
| + // underlying registration.
|
| + void DuplicateRegistrationHandle(
|
| + int64 handle_id,
|
| + const BackgroundSyncService::DuplicateRegistrationHandleCallback&
|
| + callback);
|
|
|
| // WorkerThread::Observer implementation.
|
| void WillStopCurrentWorkerThread() override;
|
|
|