#ifndef COMPONENTS_ATTRIBUTION_REPORTING_OS_REGISTRATION_H_
#define COMPONENTS_ATTRIBUTION_REPORTING_OS_REGISTRATION_H_
#include <string_view>
#include <vector>
#include "base/component_export.h"
#include "base/types/expected.h"
#include "components/attribution_reporting/os_registration_error.mojom-forward.h"
#include "net/http/structured_headers.h"
#include "url/gurl.h"
namespace attribution_reporting {
struct COMPONENT_EXPORT(ATTRIBUTION_REPORTING) OsRegistrationItem { … };
COMPONENT_EXPORT(ATTRIBUTION_REPORTING)
base::expected<std::vector<OsRegistrationItem>, mojom::OsRegistrationError>
ParseOsSourceOrTriggerHeader(std::string_view);
COMPONENT_EXPORT(ATTRIBUTION_REPORTING)
base::expected<std::vector<OsRegistrationItem>, mojom::OsRegistrationError>
ParseOsSourceOrTriggerHeader(const net::structured_headers::List&);
}
#endif