ok_(ok),
error_details_(error_details) {}
- virtual void Run(bool ok,
- const string& error_details,
- scoped_ptr<ProofVerifyDetails>* details) OVERRIDE {
+ void Run(bool ok,
+ const string& error_details,
+ scoped_ptr<ProofVerifyDetails>* details) override {
*ok_ = ok;
*error_details_ = error_details;
base::FilePath certs_dir = GetTestCertsDirectory();
scoped_refptr<X509Certificate> cert =
ImportCertFromFile(certs_dir, "quic_" + file_name);
- CHECK_NE(static_cast<X509Certificate*>(NULL), cert.get());
+ CHECK_NE(static_cast<X509Certificate*>(nullptr), cert.get());
string der_bytes;
CHECK(X509Certificate::GetDEREncoded(cert->os_cert_handle(), &der_bytes));