Index: net/base/x509_certificate_net_log_param.cc |
diff --git a/net/base/x509_certificate_net_log_param.cc b/net/base/x509_certificate_net_log_param.cc |
deleted file mode 100644 |
index e3a7db99c6337af0428ae8e318a49c234e481bcf..0000000000000000000000000000000000000000 |
--- a/net/base/x509_certificate_net_log_param.cc |
+++ /dev/null |
@@ -1,27 +0,0 @@ |
-// 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. |
- |
-#include "net/base/x509_certificate_net_log_param.h" |
- |
-#include <string> |
-#include <vector> |
- |
-#include "base/values.h" |
-#include "net/base/x509_certificate.h" |
- |
-namespace net { |
- |
-base::Value* NetLogX509CertificateCallback(const X509Certificate* certificate, |
- NetLog::LogLevel log_level) { |
- base::DictionaryValue* dict = new base::DictionaryValue(); |
- base::ListValue* certs = new base::ListValue(); |
- std::vector<std::string> encoded_chain; |
- certificate->GetPEMEncodedChain(&encoded_chain); |
- for (size_t i = 0; i < encoded_chain.size(); ++i) |
- certs->Append(new base::StringValue(encoded_chain[i])); |
- dict->Set("certificates", certs); |
- return dict; |
-} |
- |
-} // namespace net |