Index: content/renderer/background_sync/background_sync_client_impl.cc |
diff --git a/content/renderer/background_sync/background_sync_client_impl.cc b/content/renderer/background_sync/background_sync_client_impl.cc |
index bfa961e82c14c0e66e0752f5e4b95fee756ff4b8..f4b7d9372a0b8801d33c68ab9d8abbfcb7f52909 100644 |
--- a/content/renderer/background_sync/background_sync_client_impl.cc |
+++ b/content/renderer/background_sync/background_sync_client_impl.cc |
@@ -6,6 +6,7 @@ |
#include <utility> |
+#include "base/time/time.h" |
#include "content/child/background_sync/background_sync_provider.h" |
#include "content/child/background_sync/background_sync_type_converters.h" |
#include "content/renderer/service_worker/service_worker_context_client.h" |
@@ -38,7 +39,8 @@ void BackgroundSyncClientImpl::Sync( |
ServiceWorkerContextClient* client = |
ServiceWorkerContextClient::ThreadSpecificInstance(); |
if (!client) { |
- callback.Run(blink::mojom::ServiceWorkerEventStatus::ABORTED); |
+ callback.Run(blink::mojom::ServiceWorkerEventStatus::ABORTED, |
+ base::Time::Now().ToDoubleT()); |
return; |
} |