chromium/fuchsia_web/runners/cast/fidl/cors_exempt_headers.fidl

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

library chromium.cast;

using fuchsia.web;

/// Provides a list of header names that should be exempted from CORS preflight
/// security checks for all Cast apps.
@discoverable
closed protocol CorsExemptHeaderProvider {
    strict GetCorsExemptHeaderNames() -> (struct {
        header_names vector<vector<uint8>:fuchsia.web.MAX_HEADERS_COUNT>:MAX;
    });
};