blob: b6825315f9a3238c5bd69a67a620fd8be9be6d48 [file] [log] [blame]
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/aggregation_service/aggregation_service_internals_mojom_traits.h"
namespace mojo {
// static
bool StructTraits<
aggregation_service_internals::mojom::AggregatableReportRequestIDDataView,
content::AggregatableReportRequestStorageId>::
Read(aggregation_service_internals::mojom::
AggregatableReportRequestIDDataView data,
content::AggregatableReportRequestStorageId* out) {
*out = content::AggregatableReportRequestStorageId(data.value());
return true;
}
} // namespace mojo