#include "components/autofill/core/browser/payments/wait_for_signal_or_timeout.h"
#include "base/task/sequenced_task_runner.h"
WaitForSignalOrTimeout::WaitForSignalOrTimeout() = default;
WaitForSignalOrTimeout::~WaitForSignalOrTimeout() = default;
void WaitForSignalOrTimeout::Signal() { … }
bool WaitForSignalOrTimeout::IsSignaled() const { … }
void WaitForSignalOrTimeout::OnEventOrTimeOut(Callback callback,
base::TimeDelta timeout) { … }
void WaitForSignalOrTimeout::Reset() { … }
void WaitForSignalOrTimeout::OnTimeOut(int generation_id) { … }
void WaitForSignalOrTimeout::SignalHandler(bool triggered_by_signal) { … }