chromium/third_party/blink/common/navigation/navigation_policy_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 "third_party/blink/public/common/navigation/navigation_policy_mojom_traits.h"

namespace mojo {

namespace {

DownloadType;
DownloadTypes;
DownloadTypesDataView;

blink::mojom::NavigationDownloadTypesPtr CreateDownloadTypes(
    const DownloadTypes& types) {}

}  // namespace

// static
bool StructTraits<DownloadTypesDataView, DownloadTypes>::view_source(
    const DownloadTypes& types) {}

// static
bool StructTraits<DownloadTypesDataView, DownloadTypes>::interstitial(
    const DownloadTypes& types) {}

// static
bool StructTraits<DownloadTypesDataView, DownloadTypes>::opener_cross_origin(
    const DownloadTypes& types) {}

// static
bool StructTraits<DownloadTypesDataView, DownloadTypes>::ad_frame_no_gesture(
    const DownloadTypes& types) {}

// static
bool StructTraits<DownloadTypesDataView, DownloadTypes>::ad_frame(
    const DownloadTypes& types) {}

// static
bool StructTraits<DownloadTypesDataView, DownloadTypes>::sandbox(
    const DownloadTypes& types) {}

// static
bool StructTraits<DownloadTypesDataView, DownloadTypes>::no_gesture(
    const DownloadTypes& types) {}

// static
bool StructTraits<DownloadTypesDataView, DownloadTypes>::Read(
    DownloadTypesDataView in,
    DownloadTypes* out) {}

// static
blink::mojom::NavigationDownloadTypesPtr
StructTraits<blink::mojom::NavigationDownloadPolicyDataView,
             blink::NavigationDownloadPolicy>::
    observed_types(const blink::NavigationDownloadPolicy& download_policy) {}

// static
blink::mojom::NavigationDownloadTypesPtr
StructTraits<blink::mojom::NavigationDownloadPolicyDataView,
             blink::NavigationDownloadPolicy>::
    disallowed_types(const blink::NavigationDownloadPolicy& download_policy) {}

// static
bool StructTraits<blink::mojom::NavigationDownloadPolicyDataView,
                  blink::NavigationDownloadPolicy>::
    Read(blink::mojom::NavigationDownloadPolicyDataView in,
         blink::NavigationDownloadPolicy* out) {}

}  // namespace mojo