1// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
6#define NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
7
8#include <memory>
9
10#include "net/base/net_export.h"
11
12namespace base {
13class Value;
14}
15
16namespace net {
17
18class NetLogCaptureMode;
19class X509Certificate;
20
21// Creates NetLog parameter to describe an X509Certificate.
22NET_EXPORT std::unique_ptr<base::Value> NetLogX509CertificateCallback(
23 const X509Certificate* certificate,
24 NetLogCaptureMode capture_mode);
25
26} // namespace net
27
28#endif // NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
29