chromium/components/services/app_service/public/cpp/preferred_apps_list.cc

// Copyright 2020 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/preferred_apps_list.h"

#include <utility>

#include "base/containers/contains.h"
#include "base/observer_list.h"
#include "base/ranges/algorithm.h"
#include "base/strings/string_util.h"
#include "components/services/app_service/public/cpp/intent_filter_util.h"
#include "components/services/app_service/public/cpp/intent_util.h"
#include "url/gurl.h"

namespace apps {

PreferredAppsList::PreferredAppsList() = default;
PreferredAppsList::~PreferredAppsList() = default;

void PreferredAppsList::Init() {}

void PreferredAppsList::Init(PreferredApps preferred_apps) {}

ReplacedAppPreferences PreferredAppsList::AddPreferredApp(
    const std::string& app_id,
    const IntentFilterPtr& intent_filter) {}

IntentFilters PreferredAppsList::DeletePreferredApp(
    const std::string& app_id,
    const IntentFilterPtr& intent_filter) {}

IntentFilters PreferredAppsList::DeleteAppId(const std::string& app_id) {}

IntentFilters PreferredAppsList::DeleteSupportedLinks(
    const std::string& app_id) {}

void PreferredAppsList::ApplyBulkUpdate(apps::PreferredAppChangesPtr changes) {}

bool PreferredAppsList::IsInitialized() const {}

size_t PreferredAppsList::GetEntrySize() const {}

PreferredApps PreferredAppsList::GetValue() const {}

const PreferredApps& PreferredAppsList::GetReference() const {}

bool PreferredAppsList::IsPreferredAppForSupportedLinks(
    const std::string& app_id) const {}

std::optional<std::string> PreferredAppsList::FindPreferredAppForUrl(
    const GURL& url) const {}

std::optional<std::string> PreferredAppsList::FindPreferredAppForIntent(
    const IntentPtr& intent) const {}

base::flat_set<std::string> PreferredAppsList::FindPreferredAppsForFilters(
    const IntentFilters& intent_filters) const {}

bool PreferredAppsList::EntryExists(const std::string& app_id,
                                    const IntentFilterPtr& intent_filter) {}

}  // namespace apps