#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/browser/media/media_engagement_preloaded_list.h"
#include <cstdint>
#include "base/files/file_util.h"
#include "base/no_destructor.h"
#include "base/path_service.h"
#include "base/strings/string_number_conversions.h"
#include "chrome/browser/media/media_engagement_preload.pb.h"
#include "net/base/lookup_string_in_fixed_set.h"
#include "url/origin.h"
#include "url/url_canon.h"
#include "url/url_constants.h"
MediaEngagementPreloadedList* MediaEngagementPreloadedList::GetInstance() { … }
MediaEngagementPreloadedList::MediaEngagementPreloadedList() { … }
MediaEngagementPreloadedList::~MediaEngagementPreloadedList() { … }
bool MediaEngagementPreloadedList::loaded() const { … }
bool MediaEngagementPreloadedList::empty() const { … }
bool MediaEngagementPreloadedList::LoadFromFile(const base::FilePath& path) { … }
bool MediaEngagementPreloadedList::CheckOriginIsPresent(
const url::Origin& origin) const { … }
MediaEngagementPreloadedList::DafsaResult
MediaEngagementPreloadedList::CheckStringIsPresent(
const std::string& input) const { … }