chromium/third_party/blink/renderer/platform/storage/blink_storage_key_mojom_traits.h

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

#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_STORAGE_BLINK_STORAGE_KEY_MOJOM_TRAITS_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_STORAGE_BLINK_STORAGE_KEY_MOJOM_TRAITS_H_

#include <optional>

#include "mojo/public/cpp/bindings/struct_traits.h"
#include "third_party/blink/public/mojom/storage_key/ancestor_chain_bit.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/storage_key/storage_key.mojom-blink.h"
#include "third_party/blink/renderer/platform/platform_export.h"
#include "third_party/blink/renderer/platform/storage/blink_storage_key.h"

namespace base {
class UnguessableToken;
}  // namespace base

namespace blink {
class BlinkSchemefulSite;
class SecurityOrigin;
}  // namespace blink

namespace mojo {

template <>
struct PLATFORM_EXPORT
    StructTraits<blink::mojom::StorageKeyDataView, blink::BlinkStorageKey> {};

}  // namespace mojo

#endif  // THIRD_PARTY_BLINK_RENDERER_PLATFORM_STORAGE_BLINK_STORAGE_KEY_MOJOM_TRAITS_H_