#include "content/browser/service_worker/service_worker_ping_controller.h"
#include "content/browser/service_worker/service_worker_version.h"
namespace content {
namespace {
constexpr base::TimeDelta kPingTimeout = …;
}
ServiceWorkerPingController::ServiceWorkerPingController(
ServiceWorkerVersion* version)
: … { … }
ServiceWorkerPingController::~ServiceWorkerPingController() = default;
void ServiceWorkerPingController::Activate() { … }
void ServiceWorkerPingController::Deactivate() { … }
void ServiceWorkerPingController::OnPongReceived() { … }
bool ServiceWorkerPingController::IsActivated() const { … }
bool ServiceWorkerPingController::IsTimedOut() const { … }
void ServiceWorkerPingController::CheckPingStatus() { … }
void ServiceWorkerPingController::SimulateTimeoutForTesting() { … }
void ServiceWorkerPingController::ClearLastPingTime() { … }
}