chromium/third_party/blink/renderer/core/workers/cross_thread_global_scope_creation_params_copier.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/renderer/core/workers/cross_thread_global_scope_creation_params_copier.h"

#include "services/network/public/mojom/content_security_policy.mojom-blink.h"

namespace WTF {

namespace {

network::mojom::blink::CSPSourcePtr CSPSourceIsolatedCopy(
    const network::mojom::blink::CSPSourcePtr& in) {}

network::mojom::blink::CSPHashSourcePtr CSPHashSourceIsolatedCopy(
    const network::mojom::blink::CSPHashSourcePtr& in) {}

HashMap<network::mojom::blink::CSPDirectiveName, String>
RawDirectivesIsolatedCopy(
    const HashMap<network::mojom::blink::CSPDirectiveName, String>& in) {}

network::mojom::blink::CSPSourceListPtr CSPSourceListIsolatedCopy(
    const network::mojom::blink::CSPSourceListPtr& in) {}

HashMap<network::mojom::blink::CSPDirectiveName,
        network::mojom::blink::CSPSourceListPtr>
DirectivesIsolatedCopy(
    const HashMap<network::mojom::blink::CSPDirectiveName,
                  network::mojom::blink::CSPSourceListPtr>& in) {}

network::mojom::blink::ContentSecurityPolicyPtr
ContentSecurityPolicyIsolatedCopy(
    const network::mojom::blink::ContentSecurityPolicyPtr& csp) {}

}  // namespace

CrossThreadCopier<Vector<network::mojom::blink::ContentSecurityPolicyPtr>>::Type
CrossThreadCopier<Vector<network::mojom::blink::ContentSecurityPolicyPtr>>::
    Copy(const Vector<network::mojom::blink::ContentSecurityPolicyPtr>&
             list_in) {}

CrossThreadCopier<std::unique_ptr<blink::GlobalScopeCreationParams>>::Type
CrossThreadCopier<std::unique_ptr<blink::GlobalScopeCreationParams>>::Copy(
    std::unique_ptr<blink::GlobalScopeCreationParams> pointer) {}

}  // namespace WTF