blob: ecde73ccd05a7e8c64e683f9bfa0092e475421cc [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
#define NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
#include <memory>
#include "net/base/net_export.h"
namespace base {
class Value;
}
namespace net {
class NetLogCaptureMode;
class X509Certificate;
// Creates NetLog parameter to describe an X509Certificate.
NET_EXPORT std::unique_ptr<base::Value> NetLogX509CertificateCallback(
const X509Certificate* certificate,
NetLogCaptureMode capture_mode);
} // namespace net
#endif // NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_