#include "chrome/browser/web_applications/isolated_web_apps/check_isolated_web_app_bundle_installability_command.h"
#include <utility>
#include "base/functional/callback_forward.h"
#include "base/notreached.h"
#include "base/strings/strcat.h"
#include "base/version.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/web_applications/commands/web_app_command.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_features.h"
#include "chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_metadata.h"
#include "chrome/browser/web_applications/locks/app_lock.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
namespace web_app {
CheckIsolatedWebAppBundleInstallabilityCommand::
CheckIsolatedWebAppBundleInstallabilityCommand(
Profile* profile,
const SignedWebBundleMetadata& bundle_metadata,
BundleInstallabilityCallback callback)
: … { … }
CheckIsolatedWebAppBundleInstallabilityCommand::
~CheckIsolatedWebAppBundleInstallabilityCommand() = default;
void CheckIsolatedWebAppBundleInstallabilityCommand::StartWithLock(
std::unique_ptr<AppLock> lock) { … }
void CheckIsolatedWebAppBundleInstallabilityCommand::ReportResult(
IsolatedInstallabilityCheckResult status,
std::optional<base::Version> installed_version) { … }
}