chromium/components/services/app_service/public/cpp/app_storage/app_storage.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 "components/services/app_service/public/cpp/app_storage/app_storage.h"

#include <map>
#include <memory>
#include <utility>

#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/task_runner.h"
#include "components/services/app_service/public/cpp/app_storage/app_storage_file_handler.h"
#include "components/services/app_service/public/cpp/app_update.h"
#include "components/services/app_service/public/cpp/icon_effects.h"
#include "components/services/app_service/public/cpp/types_util.h"

namespace apps {

#define IS_APP_VALUE_CHANGED(FIELD)

#define IS_APP_VALUE_CHANGED_FOR_ENUM(FIELD, DEFAULT_VALUE)

AppStorage::AppStorage(const base::FilePath& base_path,
                       AppRegistryCache& app_registry_cache,
                       base::OnceCallback<void()> on_get_app_info_callback)
    :{}

AppStorage::~AppStorage() = default;

void AppStorage::OnAppUpdate(const AppUpdate& update) {}

void AppStorage::OnAppTypePublishing(const std::vector<AppPtr>& deltas,
                                     apps::AppType app_type) {}

void AppStorage::OnAppRegistryCacheWillBeDestroyed(AppRegistryCache* cache) {}

void AppStorage::OnGetAppInfoData(base::OnceCallback<void()> callback,
                                  std::unique_ptr<AppInfo> app_info) {}

bool AppStorage::IsAppChanged(const AppUpdate& update) {}

void AppStorage::MaybeSaveAppInfo() {}

void AppStorage::OnSaveFinished() {}

}  // namespace apps