chromium/chrome/browser/component_updater/optimization_guide_on_device_model_installer.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_COMPONENT_UPDATER_OPTIMIZATION_GUIDE_ON_DEVICE_MODEL_INSTALLER_H_
#define CHROME_BROWSER_COMPONENT_UPDATER_OPTIMIZATION_GUIDE_ON_DEVICE_MODEL_INSTALLER_H_

#include "base/memory/scoped_refptr.h"
#include "components/component_updater/component_installer.h"

namespace optimization_guide {
class OnDeviceModelComponentStateManager;
}  // namespace optimization_guide

namespace component_updater {

class OptimizationGuideOnDeviceModelInstallerPolicy
    : public ComponentInstallerPolicy {};

void RegisterOptimizationGuideOnDeviceModelComponent(
    ComponentUpdateService* cus,
    scoped_refptr<optimization_guide::OnDeviceModelComponentStateManager>
        state_manager);

void UninstallOptimizationGuideOnDeviceModelComponent(
    scoped_refptr<optimization_guide::OnDeviceModelComponentStateManager>
        state_manager);

}  // namespace component_updater

#endif  // CHROME_BROWSER_COMPONENT_UPDATER_OPTIMIZATION_GUIDE_ON_DEVICE_MODEL_INSTALLER_H_