chromium/chrome/browser/web_applications/commands/update_protocol_handler_approval_command.cc

// Copyright 2022 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/commands/update_protocol_handler_approval_command.h"

#include <memory>
#include <utility>

#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/to_string.h"
#include "chrome/browser/web_applications/locks/app_lock.h"
#include "chrome/browser/web_applications/os_integration/os_integration_manager.h"
#include "chrome/browser/web_applications/web_app_constants.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "chrome/browser/web_applications/web_app_registry_update.h"
#include "chrome/browser/web_applications/web_app_sync_bridge.h"
#include "chrome/browser/web_applications/web_app_utils.h"
#include "components/webapps/common/web_app_id.h"

namespace web_app {

UpdateProtocolHandlerApprovalCommand::UpdateProtocolHandlerApprovalCommand(
    const webapps::AppId& app_id,
    const std::string& protocol_scheme,
    ApiApprovalState approval_state,
    base::OnceClosure callback)
    :{}

UpdateProtocolHandlerApprovalCommand::~UpdateProtocolHandlerApprovalCommand() =
    default;

void UpdateProtocolHandlerApprovalCommand::StartWithLock(
    std::unique_ptr<AppLock> lock) {}

void UpdateProtocolHandlerApprovalCommand::
    OnProtocolHandlersSynchronizeComplete(
        const std::vector<custom_handlers::ProtocolHandler>&
            original_protocol_handlers,
        OsIntegrationManager& os_integration_manager) {}

}  // namespace web_app