Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Unified Diff: chrome/common/net/x509_certificate_model_openssl.cc

Issue 271753004: x509_certificate_model: remove unused code, move nss-only stuff out of public interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get the missing places Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/net/x509_certificate_model_openssl.cc
diff --git a/chrome/common/net/x509_certificate_model_openssl.cc b/chrome/common/net/x509_certificate_model_openssl.cc
index ad5d67ca3908d7098f22f34d575c238c4957230f..b8f28b34acc0aabc96d2ed68650d1f2f73966894 100644
--- a/chrome/common/net/x509_certificate_model_openssl.cc
+++ b/chrome/common/net/x509_certificate_model_openssl.cc
@@ -48,11 +48,6 @@ std::string GetCertNameOrNickname(X509Certificate::OSCertHandle cert_handle) {
return "";
}
-std::string GetNickname(X509Certificate::OSCertHandle cert_handle) {
- // TODO(jamescook): implement me.
- return "";
-}
-
std::string GetTokenName(X509Certificate::OSCertHandle cert_handle) {
// TODO(bulach): implement me.
return "";
@@ -70,21 +65,11 @@ net::CertType GetType(X509Certificate::OSCertHandle os_cert) {
return net::OTHER_CERT;
}
-std::string GetEmailAddress(X509Certificate::OSCertHandle os_cert) {
- // TODO(bulach): implement me.
- return "";
-}
-
void GetUsageStrings(X509Certificate::OSCertHandle cert_handle,
std::vector<std::string>* usages) {
// TODO(bulach): implement me.
}
-std::string GetKeyUsageString(X509Certificate::OSCertHandle cert_handle) {
- // TODO(bulach): implement me.
- return "";
-}
-
std::string GetSerialNumberHexified(
X509Certificate::OSCertHandle cert_handle,
const std::string& alternative_text) {
@@ -167,19 +152,6 @@ std::string GetSubjectName(net::X509Certificate::OSCertHandle cert_handle) {
return GetKeyValuesFromName(X509_get_subject_name(cert_handle));
}
-void GetEmailAddresses(net::X509Certificate::OSCertHandle cert_handle,
- std::vector<std::string>* email_addresses) {
- // TODO(bulach): implement me.
-}
-
-void GetNicknameStringsFromCertList(
- const std::vector<scoped_refptr<net::X509Certificate> >& certs,
- const std::string& cert_expired,
- const std::string& cert_not_yet_valid,
- std::vector<std::string>* nick_names) {
- // TODO(bulach): implement me.
-}
-
void GetExtensions(
const std::string& critical_label,
const std::string& non_critical_label,
@@ -260,7 +232,4 @@ std::string ProcessRawBitsSignatureWrap(
return "";
}
-void RegisterDynamicOids() {
-}
-
} // namespace x509_certificate_model

Powered by Google App Engine
This is Rietveld 408576698