chromium/extensions/common/mojom/activation_sequence_mojom_traits.cc

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

#include "extensions/common/mojom/activation_sequence_mojom_traits.h"

namespace mojo {

bool StructTraits<extensions::mojom::ActivationSequenceDataView,
                  extensions::ActivationSequence>::
    Read(extensions::mojom::ActivationSequenceDataView data,
         extensions::ActivationSequence* out) {
  *out = extensions::ActivationSequence(data.value());
  return true;
}

}  // namespace mojo