#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_EVENT_WAITER_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_EVENT_WAITER_H_
#include <list>
#include "base/location.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
template <typename Event>
class EventWaiter { … };
template <typename Event>
EventWaiter<Event>::EventWaiter(std::list<Event> expected_event_sequence,
base::TimeDelta timeout,
base::Location location)
: … { … }
template <typename Event>
EventWaiter<Event>::~EventWaiter() { … }
template <typename Event>
testing::AssertionResult EventWaiter<Event>::Wait() { … }
template <typename Event>
void EventWaiter<Event>::OnEvent(Event actual_event) { … }
}
#endif