chromium/chrome/browser/web_applications/commands/generated_icon_fix_command.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_COMMANDS_GENERATED_ICON_FIX_COMMAND_H_
#define CHROME_BROWSER_WEB_APPLICATIONS_COMMANDS_GENERATED_ICON_FIX_COMMAND_H_

#include <memory>

#include "base/functional/callback.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
#include "chrome/browser/web_applications/commands/web_app_command.h"
#include "chrome/browser/web_applications/locks/shared_web_contents_with_app_lock.h"
#include "chrome/browser/web_applications/proto/web_app.pb.h"
#include "chrome/browser/web_applications/web_app_icon_manager.h"
#include "chrome/browser/web_applications/web_app_install_info.h"
#include "chrome/browser/web_applications/web_app_install_utils.h"
#include "components/webapps/common/web_app_id.h"

namespace web_app {

class WebAppIconDownloader;

// Used by metrics.
enum class GeneratedIconFixResult {};

class GeneratedIconFixCommand
    : public WebAppCommand<SharedWebContentsWithAppLock,
                           GeneratedIconFixResult> {};

}  // namespace web_app

#endif  // CHROME_BROWSER_WEB_APPLICATIONS_COMMANDS_GENERATED_ICON_FIX_COMMAND_H_