#include "chrome/browser/web_applications/commands/install_app_locally_command.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/time/time.h"
#include "base/values.h"
#include "chrome/browser/web_applications/commands/web_app_command.h"
#include "chrome/browser/web_applications/locks/app_lock.h"
#include "chrome/browser/web_applications/os_integration/os_integration_manager.h"
#include "chrome/browser/web_applications/proto/web_app_install_state.pb.h"
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/browser/web_applications/web_app_constants.h"
#include "chrome/browser/web_applications/web_app_install_manager.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "chrome/browser/web_applications/web_app_registry_update.h"
#include "chrome/browser/web_applications/web_app_sync_bridge.h"
#include "components/webapps/common/web_app_id.h"
namespace web_app {
InstallAppLocallyCommand::InstallAppLocallyCommand(
const webapps::AppId& app_id,
base::OnceClosure install_callback)
: … { … }
InstallAppLocallyCommand::~InstallAppLocallyCommand() = default;
void InstallAppLocallyCommand::StartWithLock(
std::unique_ptr<AppLock> app_lock) { … }
void InstallAppLocallyCommand::OnOsIntegrationSynchronized() { … }
}