chromium/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_update_apply_task.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_WEB_APPLICATIONS_ISOLATED_WEB_APPS_ISOLATED_WEB_APP_UPDATE_APPLY_TASK_H_
#define CHROME_BROWSER_WEB_APPLICATIONS_ISOLATED_WEB_APPS_ISOLATED_WEB_APP_UPDATE_APPLY_TASK_H_

#include <memory>

#include "base/functional/callback.h"
#include "base/memory/weak_ptr.h"
#include "base/types/expected.h"
#include "base/values.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"

class ScopedKeepAlive;
class ScopedProfileKeepAlive;

namespace web_app {

struct IsolatedWebAppApplyUpdateCommandError;
class WebAppCommandScheduler;

// This task is responsible for applying a pending Isolated Web App update by
// calling `WebAppCommandScheduler::ApplyPendingIsolatedWebAppUpdate`.
class IsolatedWebAppUpdateApplyTask {};

}  // namespace web_app

#endif  // CHROME_BROWSER_WEB_APPLICATIONS_ISOLATED_WEB_APPS_ISOLATED_WEB_APP_UPDATE_APPLY_TASK_H_