#include "chrome/browser/tpcd/support/tpcd_support_service.h"
#include "base/functional/callback_helpers.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_pattern.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/content_settings/core/common/content_settings_utils.h"
#include "components/origin_trials/browser/origin_trials.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/storage_partition.h"
#include "services/network/public/mojom/cookie_manager.mojom.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace tpcd::trial {
namespace {
const char kTrialName[] = …;
}
TpcdTrialService::TpcdTrialService(content::BrowserContext* browser_context)
: … { … }
TpcdTrialService::~TpcdTrialService() = default;
void TpcdTrialService::Shutdown() { … }
void TpcdTrialService::Update3pcdTrialSettingsForTesting(
const OriginTrialStatusChangeDetails& details) { … }
void TpcdTrialService::Update3pcdTrialSettings(
const OriginTrialStatusChangeDetails& details) { … }
void TpcdTrialService::ClearTpcdTrialSettings() { … }
void TpcdTrialService::SyncTpcdTrialSettingsToNetworkService(
HostContentSettingsMap* settings_map) { … }
void TpcdTrialService::OnStatusChanged(
const OriginTrialStatusChangeDetails& details) { … }
void TpcdTrialService::OnPersistedTokensCleared() { … }
std::string TpcdTrialService::trial_name() { … }
}