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

Unified Diff: third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom

Issue 2218943002: Introduce ServiceWorker.EventDispatchingDelay UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated mpearson@'s comment Created 4 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: third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom
diff --git a/third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom b/third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom
index 15c1c59a9b6980f46fdb0eafb737aec552135727..66a60b571bf0b2b2ab16626546eddc75f48d8338 100644
--- a/third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom
+++ b/third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom
@@ -48,6 +48,8 @@ interface BackgroundSyncService {
};
interface BackgroundSyncServiceClient {
+ // TODO(horo): Use mojo.common.mojom.Time for |dispatch_event_time|. It is
+ // using double as the UTC time in seconds, counted from January 1, 1970.
Sync(string tag, BackgroundSyncEventLastChance last_chance)
- => (ServiceWorkerEventStatus status);
+ => (ServiceWorkerEventStatus status, double dispatch_event_time);
};

Powered by Google App Engine
This is Rietveld 408576698