chromium/chrome/browser/web_applications/isolated_web_apps/error/unusable_swbn_file_error.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/web_applications/isolated_web_apps/error/unusable_swbn_file_error.h"

#include "base/metrics/histogram_functions.h"
#include "chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_reader.h"
#include "components/web_package/mojom/web_bundle_parser.mojom.h"

namespace web_app {
namespace {

enum class ParsingContext {};

UnusableSwbnFileError::Error ConvertError(
    const web_package::mojom::BundleParseErrorType& error,
    ParsingContext parsing_context) {}

}  // namespace

UnusableSwbnFileError::UnusableSwbnFileError(UnusableSwbnFileError::Error error,
                                             std::string message)
    :{}

UnusableSwbnFileError::UnusableSwbnFileError(
    const web_package::mojom::BundleIntegrityBlockParseErrorPtr& error)
    :{}

UnusableSwbnFileError::UnusableSwbnFileError(
    const web_package::mojom::BundleMetadataParseErrorPtr& error)
    :{}

UnusableSwbnFileError::UnusableSwbnFileError(
    const web_package::SignedWebBundleSignatureVerifier::Error& error)
    :{}

bool operator==(const UnusableSwbnFileError& lhs,
                const UnusableSwbnFileError& rhs) {}

// static
UnusableSwbnFileError::Error ToErrorEnum(const UnusableSwbnFileError& err) {}

}  // namespace web_app