Refactor: Make SSLCertChain a final class.

Bug: webrtc:9860
Change-Id: I07378f676c9d278c66c39b71902f91f0f15bf715
Reviewed-on: https://webrtc-review.googlesource.com/c/107800
Commit-Queue: Benjamin Wright <benwright@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25400}
This commit is contained in:
Benjamin Wright 2018-10-26 15:04:32 -07:00 committed by Commit Bot
parent 150a907403
commit 2616594045

View File

@ -90,7 +90,7 @@ class SSLCertificate {
// SSLCertChain is a simple wrapper for a vector of SSLCertificates. It serves
// primarily to ensure proper memory management (especially deletion) of the
// SSLCertificate pointers.
class SSLCertChain {
class SSLCertChain final {
public:
explicit SSLCertChain(std::unique_ptr<SSLCertificate> single_cert);
explicit SSLCertChain(std::vector<std::unique_ptr<SSLCertificate>> certs);