| # Copyright 2020 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. |
| |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| mojom("mojo_bindings") { |
| sources = [ "attribution_internals.mojom" ] |
| public_deps = [ "//url/mojom:url_mojom_origin" ] |
| webui_module_path = "/" |
| |
| cpp_typemaps = [ |
| { |
| types = [ |
| { |
| mojom = "content.mojom.AttributionReportID" |
| cpp = "::content::EventAttributionReport::Id" |
| }, |
| { |
| mojom = "content.mojom.SourceType" |
| cpp = "::content::StorableSource::SourceType" |
| }, |
| ] |
| traits_headers = [ |
| "attribution_internals_mojom_traits.h", |
| "event_attribution_report.h", |
| ] |
| traits_sources = [ "attribution_internals_mojom_traits.cc" ] |
| }, |
| ] |
| } |