chromium/components/search_engines/enterprise/enterprise_site_search_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 "components/search_engines/enterprise/enterprise_site_search_manager.h"

#include <memory>

#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/values.h"
#include "components/omnibox/common/omnibox_features.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_value_map.h"
#include "components/search_engines/template_url_data.h"
#include "components/search_engines/template_url_data_util.h"

namespace {

// Returns the site search providers read from `pref`.
EnterpriseSiteSearchManager::OwnedTemplateURLDataVector
LoadSiteSearchEnginesFromPrefs(const PrefService::Preference* pref) {}

}  // namespace

// A dictionary to hold all data related to the site search engines defined by
// policy.
const char EnterpriseSiteSearchManager::kSiteSearchSettingsPrefName[] =;

EnterpriseSiteSearchManager::EnterpriseSiteSearchManager(
    PrefService* pref_service,
    const ObserverCallback& change_observer)
    :{}

EnterpriseSiteSearchManager::~EnterpriseSiteSearchManager() = default;

// static
void EnterpriseSiteSearchManager::RegisterProfilePrefs(
    user_prefs::PrefRegistrySyncable* registry) {}

// static
void EnterpriseSiteSearchManager::AddPrefValueToMap(
    base::Value::List providers,
    PrefValueMap* pref_value_map) {}

void EnterpriseSiteSearchManager::OnSiteSearchPrefChanged() {}