Remove ssl_certificate() accessor.
The Cl landing the alternative was dated 2018, and an (informal) deprecation notice was landed. The users are now gone. Bug: None Change-Id: I1f49143fe5f2c236bf9574469f2573593b7a8086 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/223663 Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Philipp Hancke <phancke@nvidia.com> Cr-Commit-Position: refs/heads/master@{#34365}
This commit is contained in:
parent
e9a74c918b
commit
c830bd627f
@ -46,11 +46,6 @@ const SSLCertificate& RTCCertificate::GetSSLCertificate() const {
|
||||
return identity_->certificate();
|
||||
}
|
||||
|
||||
// Deprecated: TODO(benwright) - Remove once chromium is updated.
|
||||
const SSLCertificate& RTCCertificate::ssl_certificate() const {
|
||||
return identity_->certificate();
|
||||
}
|
||||
|
||||
const SSLCertChain& RTCCertificate::GetSSLCertificateChain() const {
|
||||
return identity_->cert_chain();
|
||||
}
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "absl/base/attributes.h"
|
||||
#include "api/ref_counted_base.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
@ -65,9 +66,6 @@ class RTC_EXPORT RTCCertificate final
|
||||
const SSLCertificate& GetSSLCertificate() const;
|
||||
const SSLCertChain& GetSSLCertificateChain() const;
|
||||
|
||||
// Deprecated: TODO(benwright) - Remove once chromium is updated.
|
||||
const SSLCertificate& ssl_certificate() const;
|
||||
|
||||
// TODO(hbos): If possible, remove once RTCCertificate and its
|
||||
// GetSSLCertificate() is used in all relevant places. Should not pass around
|
||||
// raw SSLIdentity* for the sake of accessing SSLIdentity::certificate().
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user