#include "components/variations/service/google_groups_manager.h"
#include <iterator>
#include <string>
#include <string_view>
#include <vector>
#include "base/feature_list.h"
#include "base/files/file_path.h"
#include "base/metrics/field_trial_params.h"
#include "base/strings/string_split.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/scoped_user_pref_update.h"
#include "components/sync/service/sync_service.h"
#include "components/variations/pref_names.h"
#include "components/variations/service/google_groups_manager_prefs.h"
#include "components/variations/variations_seed_processor.h"
GoogleGroupsManager::GoogleGroupsManager(
PrefService& target_prefs,
const std::string& key,
PrefService& source_prefs)
: … { … }
GoogleGroupsManager::~GoogleGroupsManager() = default;
void GoogleGroupsManager::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) { … }
bool GoogleGroupsManager::IsFeatureEnabledForProfile(
const base::Feature& feature) const { … }
void GoogleGroupsManager::Shutdown() { … }
void GoogleGroupsManager::OnSyncServiceInitialized(
syncer::SyncService* sync_service) { … }
void GoogleGroupsManager::OnStateChanged(syncer::SyncService* sync) { … }
void GoogleGroupsManager::OnSyncShutdown(syncer::SyncService* sync) { … }
void GoogleGroupsManager::ClearSigninScopedState() { … }
void GoogleGroupsManager::UpdateGoogleGroups() { … }