diff options
Diffstat (limited to 'net/cert/x509_certificate_net_log_param.h')
-rw-r--r-- | net/cert/x509_certificate_net_log_param.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net/cert/x509_certificate_net_log_param.h b/net/cert/x509_certificate_net_log_param.h new file mode 100644 index 0000000..36ae8f5 --- /dev/null +++ b/net/cert/x509_certificate_net_log_param.h @@ -0,0 +1,21 @@ +// 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_BASE_X509_CERT_NET_LOG_PARAM_H_ +#define NET_BASE_X509_CERT_NET_LOG_PARAM_H_ + +#include "net/base/net_log.h" + +namespace net { + +class X509Certificate; + +// Creates NetLog parameter to describe an X509Certificate. +base::Value* NetLogX509CertificateCallback( + const X509Certificate* certificate, + NetLog::LogLevel log_level); + +} // namespace net + +#endif // NET_BASE_X509_CERT_NET_LOG_PARAM_H_ |