chromium/ui/ozone/platform/wayland/mojom/wayland_overlay_config_mojom_traits.cc

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

#include "ui/ozone/platform/wayland/mojom/wayland_overlay_config_mojom_traits.h"

#include <string_view>

#include "components/crash/core/common/crash_key.h"

namespace mojo {

namespace {

void SetDeserializationCrashKeyString(std::string_view str) {}

}  // namespace

// static
wl::mojom::TransformUnionDataView::Tag
UnionTraits<wl::mojom::TransformUnionDataView,
            absl::variant<gfx::OverlayTransform, gfx::Transform>>::
    GetTag(
        const absl::variant<gfx::OverlayTransform, gfx::Transform>& transform) {}

// static
bool UnionTraits<wl::mojom::TransformUnionDataView,
                 absl::variant<gfx::OverlayTransform, gfx::Transform>>::
    Read(wl::mojom::TransformUnionDataView data,
         absl::variant<gfx::OverlayTransform, gfx::Transform>* out) {}

// static
bool StructTraits<wl::mojom::WaylandOverlayConfigDataView,
                  wl::WaylandOverlayConfig>::
    Read(wl::mojom::WaylandOverlayConfigDataView data,
         wl::WaylandOverlayConfig* out) {}

}  // namespace mojo