Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Unified Diff: content/common/background_sync_service.mojom

Issue 1282013004: BackgroundSyncManager tracks client registrations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from PS12 Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/background_sync_service.mojom
diff --git a/content/common/background_sync_service.mojom b/content/common/background_sync_service.mojom
index c8299603689dd298bdbe6bc1fa3ae861dfa0106a..a98e672956ddad381c24b8bc2aea33efaeb8186e 100644
--- a/content/common/background_sync_service.mojom
+++ b/content/common/background_sync_service.mojom
@@ -26,11 +26,13 @@ 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, int64 id,
int64 service_worker_registration_id) => (BackgroundSyncError err);
GetPermissionStatus(BackgroundSyncPeriodicity periodicity,
int64 service_worker_registration_id)
=> (BackgroundSyncError err, PermissionStatus status);
+ TrackRegistration(SyncRegistration registration);
+ ReleaseRegistration(int64 sync_id);
};
interface BackgroundSyncServiceClient {

Powered by Google App Engine
This is Rietveld 408576698