#include "chrome/browser/safe_browsing/extension_telemetry/declarative_net_request_signal_processor.h"
#include "base/check_op.h"
#include "chrome/browser/safe_browsing/extension_telemetry/declarative_net_request_signal.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
namespace safe_browsing {
namespace {
constexpr size_t kMaxRules = …;
}
DeclarativeNetRequestSignalProcessor::DeclarativeNetRequestStoreEntry::
DeclarativeNetRequestStoreEntry() = default;
DeclarativeNetRequestSignalProcessor::DeclarativeNetRequestStoreEntry::
~DeclarativeNetRequestStoreEntry() = default;
DeclarativeNetRequestSignalProcessor::DeclarativeNetRequestStoreEntry::
DeclarativeNetRequestStoreEntry(
const DeclarativeNetRequestStoreEntry& src) = default;
DeclarativeNetRequestSignalProcessor::DeclarativeNetRequestSignalProcessor()
: … { … }
DeclarativeNetRequestSignalProcessor::~DeclarativeNetRequestSignalProcessor() =
default;
void DeclarativeNetRequestSignalProcessor::ProcessSignal(
const ExtensionSignal& signal) { … }
std::unique_ptr<ExtensionTelemetryReportRequest_SignalInfo>
DeclarativeNetRequestSignalProcessor::GetSignalInfoForReport(
const extensions::ExtensionId& extension_id) { … }
bool DeclarativeNetRequestSignalProcessor::HasDataToReportForTest() const { … }
void DeclarativeNetRequestSignalProcessor::SetMaxRulesForTest(
size_t max_rules) { … }
}