chromium/components/attribution_reporting/os_registration.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/os_registration.h"

#include <utility>
#include <vector>

#include "base/check_op.h"
#include "base/metrics/histogram_functions.h"
#include "base/types/expected.h"
#include "components/attribution_reporting/os_registration_error.mojom-shared.h"
#include "net/http/structured_headers.h"
#include "url/gurl.h"

namespace attribution_reporting {

namespace {
OsRegistrationError;
}  // namespace

base::expected<std::vector<OsRegistrationItem>, OsRegistrationError>
ParseOsSourceOrTriggerHeader(std::string_view header) {}

base::expected<std::vector<OsRegistrationItem>, OsRegistrationError>
ParseOsSourceOrTriggerHeader(const net::structured_headers::List& list) {}

}  // namespace attribution_reporting