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..2dd5e036a4caeb1a382ffda64e72e38097a6d65e 100644 |
--- a/content/common/background_sync_service.mojom |
+++ b/content/common/background_sync_service.mojom |
@@ -20,7 +20,9 @@ enum BackgroundSyncError { |
enum BackgroundSyncState { |
PENDING, |
FIRING, |
- FAILED |
+ FAILED, |
+ SUCCESS, |
+ UNREGISTERED |
}; |
interface BackgroundSyncService { |
@@ -41,6 +43,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 { |