#include "chrome/browser/web_applications/test/fake_externally_managed_app_manager.h"
#include "base/ranges/algorithm.h"
#include "base/task/sequenced_task_runner.h"
namespace web_app {
FakeExternallyManagedAppManager::FakeExternallyManagedAppManager(
Profile* profile)
: … { … }
FakeExternallyManagedAppManager::~FakeExternallyManagedAppManager() = default;
void FakeExternallyManagedAppManager::InstallNow(
ExternalInstallOptions install_options,
OnceInstallCallback callback) { … }
void FakeExternallyManagedAppManager::Install(
ExternalInstallOptions install_options,
OnceInstallCallback callback) { … }
void FakeExternallyManagedAppManager::InstallApps(
std::vector<ExternalInstallOptions> install_options_list,
const RepeatingInstallCallback& callback) { … }
void FakeExternallyManagedAppManager::UninstallApps(
std::vector<GURL> uninstall_urls,
ExternalInstallSource install_source,
const UninstallCallback& callback) { … }
void FakeExternallyManagedAppManager::SetHandleInstallRequestCallback(
HandleInstallRequestCallback callback) { … }
void FakeExternallyManagedAppManager::SetHandleUninstallRequestCallback(
HandleUninstallRequestCallback callback) { … }
}