#include "extensions/browser/preload_check_test_util.h"
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "extensions/common/extension.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
PreloadCheckRunner::PreloadCheckRunner() : … { … }
PreloadCheckRunner::~PreloadCheckRunner() = default;
void PreloadCheckRunner::Run(PreloadCheck* check) { … }
void PreloadCheckRunner::RunUntilComplete(PreloadCheck* check) { … }
void PreloadCheckRunner::WaitForComplete() { … }
void PreloadCheckRunner::WaitForIdle() { … }
PreloadCheck::ResultCallback PreloadCheckRunner::GetCallback() { … }
void PreloadCheckRunner::OnCheckComplete(const PreloadCheck::Errors& errors) { … }
PreloadCheckStub::PreloadCheckStub(const Errors& errors)
: … { … }
PreloadCheckStub::~PreloadCheckStub() = default;
void PreloadCheckStub::Start(ResultCallback callback) { … }
void PreloadCheckStub::RunCallback(ResultCallback callback) { … }
}