Index: content/common/background_sync_service.mojom |
diff --git a/content/common/background_sync_service.mojom b/content/common/background_sync_service.mojom |
index 7003a59fa0e1845a938e20eb3e687ff199d81b66..5a5c0420736b45bb2cba1311bc13263c680e417f 100644 |
--- a/content/common/background_sync_service.mojom |
+++ b/content/common/background_sync_service.mojom |
@@ -27,15 +27,18 @@ interface BackgroundSyncService { |
GetRegistrations(BackgroundSyncPeriodicity periodicity, |
int64 service_worker_registration_id) |
=> (BackgroundSyncError err, array<SyncRegistration> registrations); |
- Unregister(BackgroundSyncPeriodicity periodicity, int64 id, string tag, |
+ Unregister(BackgroundSyncPeriodicity periodicity, int32 handle_id, |
int64 service_worker_registration_id) => (BackgroundSyncError err); |
GetPermissionStatus(BackgroundSyncPeriodicity periodicity, |
int64 service_worker_registration_id) |
=> (BackgroundSyncError err, PermissionStatus status); |
+ DuplicateRegistrationHandle(int32 handle_id) |
+ => (BackgroundSyncError err, SyncRegistration? registration); |
+ ReleaseRegistration(int32 handle_id); |
}; |
interface BackgroundSyncServiceClient { |
- Sync(SyncRegistration registration) |
+ Sync(int32 handle_id) |
=> (ServiceWorkerEventStatus status); |
}; |