// third_party/blink/public/mojom/storage_key/storage_key.mojom-webui.ts is auto generated by mojom_bindings_generator.py, do not edit
// 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.
import { mojo } from '//resources/mojo/mojo/public/js/bindings.js';
import { AncestorChainBitSpec as blink_mojom_AncestorChainBitSpec } from './ancestor_chain_bit.mojom-webui.js';
import { SchemefulSiteSpec as network_mojom_SchemefulSiteSpec } from './schemeful_site.mojom-webui.js';
import { UnguessableTokenSpec as mojoBase_mojom_UnguessableTokenSpec } from '//resources/mojo/mojo/public/mojom/base/unguessable_token.mojom-webui.js';
import { OriginSpec as url_mojom_OriginSpec } from '//resources/mojo/url/mojom/origin.mojom-webui.js';
export const StorageKeySpec = { $: {} };
mojo.internal.Struct(StorageKeySpec.$, 'StorageKey', [
    mojo.internal.StructField('origin', 0, 0, url_mojom_OriginSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('topLevelSite', 8, 0, network_mojom_SchemefulSiteSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('nonce', 16, 0, mojoBase_mojom_UnguessableTokenSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('ancestorChainBit', 24, 0, blink_mojom_AncestorChainBitSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('topLevelSiteIfThirdPartyEnabled', 32, 0, network_mojom_SchemefulSiteSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('ancestorChainBitIfThirdPartyEnabled', 28, 0, blink_mojom_AncestorChainBitSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 48],]);
