chromium/chrome/browser/web_applications/os_integration/uninstallation_via_os_settings_sub_manager.cc

// 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.

#include "chrome/browser/web_applications/os_integration/uninstallation_via_os_settings_sub_manager.h"

#include <utility>

#include "base/check_is_test.h"
#include "base/files/file_path.h"
#include "base/metrics/histogram_functions.h"
#include "chrome/browser/web_applications/os_integration/os_integration_test_override.h"
#include "chrome/browser/web_applications/os_integration/web_app_uninstallation_via_os_settings_registration.h"
#include "chrome/browser/web_applications/proto/web_app_install_state.pb.h"
#include "chrome/browser/web_applications/proto/web_app_os_integration_state.pb.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "chrome/browser/web_applications/web_app_utils.h"
#include "chrome/browser/win/uninstallation_via_os_settings.h"

namespace web_app {

namespace {

bool IsOsUninstallationSupported() {}

bool ShouldRegisterOsUninstall(
    const proto::WebAppOsIntegrationState& os_integration_state) {}

}  // namespace

UninstallationViaOsSettingsSubManager::UninstallationViaOsSettingsSubManager(
    const base::FilePath& profile_path,
    WebAppProvider& provider)
    :{}

UninstallationViaOsSettingsSubManager::
    ~UninstallationViaOsSettingsSubManager() = default;

void UninstallationViaOsSettingsSubManager::Configure(
    const webapps::AppId& app_id,
    proto::WebAppOsIntegrationState& desired_state,
    base::OnceClosure configure_done) {}

void UninstallationViaOsSettingsSubManager::Execute(
    const webapps::AppId& app_id,
    const std::optional<SynchronizeOsOptions>& synchronize_options,
    const proto::WebAppOsIntegrationState& desired_state,
    const proto::WebAppOsIntegrationState& current_state,
    base::OnceClosure callback) {}

void UninstallationViaOsSettingsSubManager::ForceUnregister(
    const webapps::AppId& app_id,
    base::OnceClosure callback) {}

void UninstallationViaOsSettingsSubManager::CompleteUnregistration(
    const webapps::AppId& app_id) {}

}  // namespace web_app