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

Unified Diff: content/common/background_sync_service.mojom

Issue 1220943003: [Background Sync] Use Mojo IPC to fire background sync events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mek
Patch Set: Rebase after cr/1221503003 landed Created 5 years, 5 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 8321ae9dc7dccaa479d14e538c63500ddedc939d..69a6001f298c657518189dd179a424d6e5158bd7 100644
--- a/content/common/background_sync_service.mojom
+++ b/content/common/background_sync_service.mojom
@@ -6,6 +6,7 @@ module content;
import "content/public/common/background_sync.mojom";
import "content/public/common/permission_status.mojom";
+import "content/public/common/service_worker_event_status.mojom";
enum BackgroundSyncError {
NONE,
@@ -31,7 +32,8 @@ interface BackgroundSyncService {
=> (BackgroundSyncError err, PermissionStatus status);
};
-interface BackgoundSyncServiceClient {
- Sync(SyncRegistration event);
+interface BackgroundSyncServiceClient {
+ Sync(SyncRegistration registration)
+ => (ServiceWorkerEventStatus status);
};

Powered by Google App Engine
This is Rietveld 408576698