x509_certificate_net_log_param.h revision 5821806d5e7f356e8fa4b058a389a808ea183019
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_BASE_X509_CERT_NET_LOG_PARAM_H_
6#define NET_BASE_X509_CERT_NET_LOG_PARAM_H_
7
8#include "net/base/net_log.h"
9
10namespace net {
11
12class X509Certificate;
13
14// Creates NetLog parameter to describe an X509Certificate.
15base::Value* NetLogX509CertificateCallback(
16    const X509Certificate* certificate,
17    NetLog::LogLevel log_level);
18
19}  // namespace net
20
21#endif  // NET_BASE_X509_CERT_NET_LOG_PARAM_H_
22