blob: 575d016c90cb188c8bf23fec9621e60c644d22ae [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module network.mojom;
import "services/network/public/mojom/site_for_cookies.mojom";
import "services/network/public/mojom/schemeful_site.mojom";
import "url/mojom/origin.mojom";
// Mapped to net::IsolationInfo::RequestType, which is what consumers should
// be using instead of using this directly.
enum IsolationInfoRequestType {
// Mapped to net::IsolationInfo.
struct IsolationInfo {
// These fields should not be used directly, but rather through the mapped
// net::IsolationInfo.
IsolationInfoRequestType request_type;
url.mojom.Origin? top_frame_origin;
url.mojom.Origin? frame_origin;
bool opaque_and_non_transient;
SiteForCookies site_for_cookies;
array<SchemefulSite>? party_context;