chromium/chrome/browser/apps/app_service/publishers/extension_apps_enable_flow.h

// Copyright 2021 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_APPS_APP_SERVICE_PUBLISHERS_EXTENSION_APPS_ENABLE_FLOW_H_
#define CHROME_BROWSER_APPS_APP_SERVICE_PUBLISHERS_EXTENSION_APPS_ENABLE_FLOW_H_

#include <memory>
#include <string>

#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "chrome/browser/ui/extensions/extension_enable_flow_delegate.h"

class ExtensionEnableFlow;
class Profile;

namespace apps {

// A wrapper around ExtensionEnableFlow that attempts to enable an extension.
// The main utility this class provides is that the delegate overrides are
// wrapped in a callback, which allows the consumer to add additional state --
// e.g. adding state to track *which* extension has been enabled.
class ExtensionAppsEnableFlow : public ExtensionEnableFlowDelegate {};

}  // namespace apps

#endif  // CHROME_BROWSER_APPS_APP_SERVICE_PUBLISHERS_EXTENSION_APPS_ENABLE_FLOW_H_