chromium/chrome/browser/web_applications/web_app_registry_update.cc

// Copyright 2019 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/web_app_registry_update.h"

#include "base/containers/contains.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/types/pass_key.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "chrome/browser/web_applications/web_app_sync_bridge.h"

namespace web_app {

RegistryUpdateData::RegistryUpdateData() = default;

RegistryUpdateData::~RegistryUpdateData() = default;

bool RegistryUpdateData::IsEmpty() const {}

WebAppRegistryUpdate::WebAppRegistryUpdate(const WebAppRegistrar* registrar,
                                           base::PassKey<WebAppSyncBridge>)
    :{}

WebAppRegistryUpdate::~WebAppRegistryUpdate() = default;

void WebAppRegistryUpdate::CreateApp(std::unique_ptr<WebApp> web_app) {}

void WebAppRegistryUpdate::DeleteApp(const webapps::AppId& app_id) {}

WebApp* WebAppRegistryUpdate::UpdateApp(const webapps::AppId& app_id) {}

std::unique_ptr<RegistryUpdateData> WebAppRegistryUpdate::TakeUpdateData(
    base::PassKey<WebAppSyncBridge> pass_key) {}

ScopedRegistryUpdate::ScopedRegistryUpdate(
    base::PassKey<WebAppSyncBridge>,
    std::unique_ptr<WebAppRegistryUpdate> update,
    base::OnceCallback<void(std::unique_ptr<WebAppRegistryUpdate>)>
        commit_update)
    :{}

ScopedRegistryUpdate::ScopedRegistryUpdate(ScopedRegistryUpdate&&) noexcept =
    default;

ScopedRegistryUpdate::~ScopedRegistryUpdate() {}

}  // namespace web_app