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 66a60b571bf0b2b2ab16626546eddc75f48d8338..2958a43bcef3f47dfaabfa5057dfe16bb2055555 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 |
@@ -4,6 +4,7 @@ |
module blink.mojom; |
+import "mojo/common/common_custom_types.mojom"; |
import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_event_status.mojom"; |
enum BackgroundSyncNetworkState { |
@@ -48,8 +49,7 @@ 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, double dispatch_event_time); |
+ => (ServiceWorkerEventStatus status, |
+ mojo.common.mojom.Time dispatch_event_time); |
}; |