#include "components/safe_browsing/core/browser/safe_browsing_hats_delegate.h"
#include "base/notreached.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "components/safe_browsing/core/browser/db/v4_protocol_manager_util.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
#include "components/safe_browsing/core/common/safebrowsing_constants.h"
namespace safe_browsing {
namespace {
bool MatchFound(const std::string& report_value,
const std::string& filter_values) { … }
std::string ThreatTypeToReportType(SBThreatType threat_type) { … }
}
bool SafeBrowsingHatsDelegate::IsSurveyCandidate(
const SBThreatType& threat_type,
const std::string& report_type_filter,
const bool did_proceed,
const std::string& did_proceed_filter) { … }
}