chromium/third_party/blink/renderer/core/fetch/trust_token_to_mojom.cc

// Copyright 2020 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/fetch/trust_token_to_mojom.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_private_token.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"

namespace blink {

VersionType;
OperationType;
RefreshPolicy;
TrustTokenOperationStatus;
TrustTokenOperationType;

PSTFeatures GetPSTFeatures(const ExecutionContext& execution_context) {}

bool ConvertTrustTokenToMojomAndCheckPermissions(
    const PrivateToken& in,
    const PSTFeatures& pst_features,
    ExceptionState* exception_state,
    network::mojom::blink::TrustTokenParams* out) {}

DOMException* TrustTokenErrorToDOMException(TrustTokenOperationStatus error) {}

}  // namespace blink