chromium/components/safe_browsing/core/browser/safe_browsing_hats_delegate.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

// Return the CSBRR report type for |threat_type|. We are only
// concerned with report types that HaTS will target.
std::string ThreatTypeToReportType(SBThreatType threat_type) {}

}  // namespace

// static
bool SafeBrowsingHatsDelegate::IsSurveyCandidate(
    const SBThreatType& threat_type,
    const std::string& report_type_filter,
    const bool did_proceed,
    const std::string& did_proceed_filter) {}

}  // namespace safe_browsing