#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 {
EnterpriseSiteSearchManager::OwnedTemplateURLDataVector
LoadSiteSearchEnginesFromPrefs(const PrefService::Preference* pref) { … }
}
const char EnterpriseSiteSearchManager::kSiteSearchSettingsPrefName[] = …;
EnterpriseSiteSearchManager::EnterpriseSiteSearchManager(
PrefService* pref_service,
const ObserverCallback& change_observer)
: … { … }
EnterpriseSiteSearchManager::~EnterpriseSiteSearchManager() = default;
void EnterpriseSiteSearchManager::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) { … }
void EnterpriseSiteSearchManager::AddPrefValueToMap(
base::Value::List providers,
PrefValueMap* pref_value_map) { … }
void EnterpriseSiteSearchManager::OnSiteSearchPrefChanged() { … }