// 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.

module data_decoder.mojom;

import "services/network/public/mojom/structured_headers.mojom";

// Interface to parse structured headers into a net::structured_headers structure.
interface StructuredHeadersParser {
  // Parses an item with optional parameters.
  ParseItem(string header) => (network.mojom.StructuredHeadersParameterizedItem? result);
};