#include "components/plus_addresses/plus_address_blocklist_data.h"
#include <string>
#include "base/metrics/histogram_functions.h"
#include "base/no_destructor.h"
#include "components/plus_addresses/blocked_facets.pb.h"
#include "third_party/re2/src/re2/re2.h"
namespace plus_addresses {
namespace {
constexpr char kUmaKeyParsingResult[] = …;
std::unique_ptr<re2::RE2> ConstructRegex(std::string pattern) { … }
}
PlusAddressBlocklistData& PlusAddressBlocklistData::GetInstance() { … }
PlusAddressBlocklistData::PlusAddressBlocklistData() = default;
PlusAddressBlocklistData::~PlusAddressBlocklistData() = default;
bool PlusAddressBlocklistData::PopulateDataFromComponent(
const std::string& binary_pb) { … }
const re2::RE2* PlusAddressBlocklistData::GetExclusionPattern() const { … }
const re2::RE2* PlusAddressBlocklistData::GetExceptionPattern() const { … }
}