Index: content/common/background_sync_service.mojom |
diff --git a/content/common/background_sync_service.mojom b/content/common/background_sync_service.mojom |
index 8b2f8b4ee642f78f570e0e89f5a3d49f30fa3919..b4c9b935c66bb80631f2855b64f9bb24dcea64f2 100644 |
--- a/content/common/background_sync_service.mojom |
+++ b/content/common/background_sync_service.mojom |
@@ -20,7 +20,10 @@ enum BackgroundSyncError { |
enum BackgroundSyncState { |
PENDING, |
FIRING, |
- FAILED |
+ UNREGISTERED_WHILE_FIRING, |
+ FAILED, |
+ SUCCESS, |
+ UNREGISTERED |
}; |
interface BackgroundSyncService { |
@@ -41,6 +44,7 @@ interface BackgroundSyncService { |
DuplicateRegistrationHandle(int32 handle_id) |
=> (BackgroundSyncError err, SyncRegistration? registration); |
ReleaseRegistration(int32 handle_id); |
+ NotifyWhenDone(int32 handle_id) => (BackgroundSyncError err, BackgroundSyncState final_status); |
}; |
interface BackgroundSyncServiceClient { |