#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;
}
base::expected<std::vector<OsRegistrationItem>, OsRegistrationError>
ParseOsSourceOrTriggerHeader(std::string_view header) { … }
base::expected<std::vector<OsRegistrationItem>, OsRegistrationError>
ParseOsSourceOrTriggerHeader(const net::structured_headers::List& list) { … }
}