#include "base/test/metrics/user_action_tester.h"
#include <string_view>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/test/test_simple_task_runner.h"
namespace base {
UserActionTester::UserActionTester()
: … { … }
UserActionTester::~UserActionTester() { … }
int UserActionTester::GetActionCount(std::string_view user_action) const { … }
std::vector<TimeTicks> UserActionTester::GetActionTimes(
std::string_view user_action) const { … }
void UserActionTester::ResetCounts() { … }
void UserActionTester::OnUserAction(const std::string& user_action,
TimeTicks action_time) { … }
}