Index: webrtc/base/fakesslidentity.h |
diff --git a/webrtc/base/fakesslidentity.h b/webrtc/base/fakesslidentity.h |
index 9f98c4e5509c2b880940d8de56da3c177f661b0e..3b0df2984120a7d501b04ac5698fd43d1d8323bb 100644 |
--- a/webrtc/base/fakesslidentity.h |
+++ b/webrtc/base/fakesslidentity.h |
@@ -37,13 +37,13 @@ class FakeSSLCertificate : public rtc::SSLCertificate { |
certs_.push_back(FakeSSLCertificate(*it)); |
} |
} |
- virtual FakeSSLCertificate* GetReference() const { |
+ FakeSSLCertificate* GetReference() const override { |
return new FakeSSLCertificate(*this); |
} |
- virtual std::string ToPEMString() const { |
+ std::string ToPEMString() const override { |
return data_; |
} |
- virtual void ToDER(Buffer* der_buffer) const { |
+ void ToDER(Buffer* der_buffer) const override { |
std::string der_string; |
VERIFY(SSLIdentity::PemToDer(kPemTypeCertificate, data_, &der_string)); |
der_buffer->SetData(der_string.c_str(), der_string.size()); |
@@ -57,19 +57,19 @@ class FakeSSLCertificate : public rtc::SSLCertificate { |
void set_digest_algorithm(const std::string& algorithm) { |
digest_algorithm_ = algorithm; |
} |
- virtual bool GetSignatureDigestAlgorithm(std::string* algorithm) const { |
+ bool GetSignatureDigestAlgorithm(std::string* algorithm) const override { |
*algorithm = digest_algorithm_; |
return true; |
} |
- virtual bool ComputeDigest(const std::string& algorithm, |
- unsigned char* digest, |
- size_t size, |
- size_t* length) const { |
+ bool ComputeDigest(const std::string& algorithm, |
+ unsigned char* digest, |
+ size_t size, |
+ size_t* length) const override { |
*length = rtc::ComputeDigest(algorithm, data_.c_str(), data_.size(), |
digest, size); |
return (*length != 0); |
} |
- virtual std::unique_ptr<SSLCertChain> GetChain() const { |
+ std::unique_ptr<SSLCertChain> GetChain() const override { |
if (certs_.empty()) |
return nullptr; |
std::vector<SSLCertificate*> new_certs(certs_.size()); |