| Index: net/quic/crypto/common_cert_set.cc
|
| diff --git a/net/quic/crypto/common_cert_set.cc b/net/quic/crypto/common_cert_set.cc
|
| index 0d39ecc4ffbc56cb2463361af86ac84cb3499ccd..cc4f91b6b9ac8421193600ef39a33ef6f4eb64c3 100644
|
| --- a/net/quic/crypto/common_cert_set.cc
|
| +++ b/net/quic/crypto/common_cert_set.cc
|
| @@ -69,12 +69,12 @@ int Compare(StringPiece a, const unsigned char* b, size_t b_len) {
|
| class CommonCertSetsQUIC : public CommonCertSets {
|
| public:
|
| // CommonCertSets interface.
|
| - virtual StringPiece GetCommonHashes() const override {
|
| + StringPiece GetCommonHashes() const override {
|
| return StringPiece(reinterpret_cast<const char*>(kSetHashes),
|
| sizeof(uint64) * arraysize(kSetHashes));
|
| }
|
|
|
| - virtual StringPiece GetCert(uint64 hash, uint32 index) const override {
|
| + StringPiece GetCert(uint64 hash, uint32 index) const override {
|
| for (size_t i = 0; i < arraysize(kSets); i++) {
|
| if (kSets[i].hash == hash) {
|
| if (index < kSets[i].num_certs) {
|
| @@ -89,8 +89,10 @@ class CommonCertSetsQUIC : public CommonCertSets {
|
| return StringPiece();
|
| }
|
|
|
| - virtual bool MatchCert(StringPiece cert, StringPiece common_set_hashes,
|
| - uint64* out_hash, uint32* out_index) const override {
|
| + bool MatchCert(StringPiece cert,
|
| + StringPiece common_set_hashes,
|
| + uint64* out_hash,
|
| + uint32* out_index) const override {
|
| if (common_set_hashes.size() % sizeof(uint64) != 0) {
|
| return false;
|
| }
|
| @@ -140,7 +142,7 @@ class CommonCertSetsQUIC : public CommonCertSets {
|
|
|
| private:
|
| CommonCertSetsQUIC() {}
|
| - virtual ~CommonCertSetsQUIC() {}
|
| + ~CommonCertSetsQUIC() override {}
|
|
|
| friend struct DefaultSingletonTraits<CommonCertSetsQUIC>;
|
| DISALLOW_COPY_AND_ASSIGN(CommonCertSetsQUIC);
|
|
|