#include "chrome/browser/privacy_sandbox/privacy_sandbox_notice_service.h"
#include "base/json/values_util.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/user_metrics.h"
#include "base/strings/strcat.h"
#include "base/time/time.h"
#include "components/prefs/pref_service.h"
#include "components/privacy_sandbox/privacy_sandbox_features.h"
#include "components/privacy_sandbox/privacy_sandbox_notice_constants.h"
#include "components/privacy_sandbox/privacy_sandbox_notice_storage.h"
#include "components/privacy_sandbox/privacy_sandbox_prefs.h"
namespace privacy_sandbox {
namespace {
base::Time GetTimeFromPref(PrefService* prefs, const std::string& pref_name) { … }
}
PrivacySandboxNoticeService::PrivacySandboxNoticeService(
PrefService* pref_service)
: … { … }
PrivacySandboxNoticeService::~PrivacySandboxNoticeService() = default;
void PrivacySandboxNoticeService::Shutdown() { … }
PrivacySandboxNoticeStorage* PrivacySandboxNoticeService::GetNoticeStorage() { … }
void PrivacySandboxNoticeService::MigratePrivacySandboxPrefsToDataModel() { … }
}