#include "content/browser/background_fetch/background_fetch_test_service_worker.h"
#include <memory>
#include <utility>
#include "base/functional/callback.h"
#include "base/time/time.h"
#include "content/common/background_fetch/background_fetch_types.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_event_status.mojom.h"
namespace content {
BackgroundFetchTestServiceWorker::BackgroundFetchTestServiceWorker(
EmbeddedWorkerTestHelper* helper)
: … { … }
BackgroundFetchTestServiceWorker::~BackgroundFetchTestServiceWorker() { … }
void BackgroundFetchTestServiceWorker::DispatchBackgroundFetchAbortEvent(
blink::mojom::BackgroundFetchRegistrationPtr registration,
blink::mojom::ServiceWorker::DispatchBackgroundFetchAbortEventCallback
callback) { … }
void BackgroundFetchTestServiceWorker::DispatchBackgroundFetchClickEvent(
blink::mojom::BackgroundFetchRegistrationPtr registration,
blink::mojom::ServiceWorker::DispatchBackgroundFetchClickEventCallback
callback) { … }
void BackgroundFetchTestServiceWorker::DispatchBackgroundFetchFailEvent(
blink::mojom::BackgroundFetchRegistrationPtr registration,
blink::mojom::ServiceWorker::DispatchBackgroundFetchFailEventCallback
callback) { … }
void BackgroundFetchTestServiceWorker::DispatchBackgroundFetchSuccessEvent(
blink::mojom::BackgroundFetchRegistrationPtr registration,
blink::mojom::ServiceWorker::DispatchBackgroundFetchSuccessEventCallback
callback) { … }
}