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

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: Removed test Created 5 years, 3 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 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);
};
« no previous file with comments | « content/child/background_sync/background_sync_type_converters_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698