chromium/components/attribution_reporting/event_trigger_data.cc

// Copyright 2022 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/attribution_reporting/event_trigger_data.h"

#include <stdint.h>

#include <utility>

#include "base/check_op.h"
#include "base/types/expected.h"
#include "base/types/expected_macros.h"
#include "base/values.h"
#include "components/attribution_reporting/constants.h"
#include "components/attribution_reporting/filters.h"
#include "components/attribution_reporting/parsing_utils.h"
#include "components/attribution_reporting/trigger_registration_error.mojom.h"

namespace attribution_reporting {

namespace {

TriggerRegistrationError;

}  // namespace

// static
base::expected<EventTriggerData, TriggerRegistrationError>
EventTriggerData::FromJSON(base::Value& value) {}

EventTriggerData::EventTriggerData() = default;

EventTriggerData::EventTriggerData(uint64_t data,
                                   int64_t priority,
                                   std::optional<uint64_t> dedup_key,
                                   FilterPair filters)
    :{}

base::Value::Dict EventTriggerData::ToJson() const {}

// static
base::expected<EventTriggerValue, TriggerRegistrationError>
EventTriggerValue::Parse(const base::Value::Dict& dict) {}

EventTriggerValue::EventTriggerValue(uint32_t value) :{}

void EventTriggerValue::Serialize(base::Value::Dict& dict) const {}

}  // namespace attribution_reporting