chromium/ios/web_view/internal/cwv_ssl_util.h

// 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.

#ifndef IOS_WEB_VIEW_INTERNAL_CWV_SSL_UTIL_H_
#define IOS_WEB_VIEW_INTERNAL_CWV_SSL_UTIL_H_

#include "ios/web_view/public/cwv_cert_status.h"
#include "net/cert/cert_status_flags.h"

// Converts net::CertStatus to CWVCertStatus.
CWVCertStatus CWVCertStatusFromNetCertStatus(net::CertStatus cert_status);

#endif  // IOS_WEB_VIEW_INTERNAL_CWV_SSL_UTIL_H_