chromium/components/paint_preview/common/mojom/paint_preview_types_mojom_traits.cc

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

#include "components/paint_preview/common/mojom/paint_preview_types_mojom_traits.h"
#include "mojo/public/cpp/base/big_buffer_mojom_traits.h"
#include "mojo/public/cpp/base/file_mojom_traits.h"

namespace mojo {

// static
base::File UnionTraits<paint_preview::mojom::SerializedRecordingDataView,
                       paint_preview::SerializedRecording>::
    file(paint_preview::SerializedRecording& serialized_recording) {}

// static
mojo_base::BigBuffer
UnionTraits<paint_preview::mojom::SerializedRecordingDataView,
            paint_preview::SerializedRecording>::
    buffer(paint_preview::SerializedRecording& serialized_recording) {}

// static
bool UnionTraits<paint_preview::mojom::SerializedRecordingDataView,
                 paint_preview::SerializedRecording>::
    Read(paint_preview::mojom::SerializedRecordingDataView data,
         paint_preview::SerializedRecording* out) {}

// static
paint_preview::mojom::SerializedRecordingDataView::Tag
UnionTraits<paint_preview::mojom::SerializedRecordingDataView,
            paint_preview::SerializedRecording>::
    GetTag(const paint_preview::SerializedRecording& serialized_recording) {}

}  // namespace mojo