Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1980)

Unified Diff: chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc
diff --git a/chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc b/chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc
index ca5464dd135db2757768261a558c7d307fbf58af..11b613fec8b4231276429a85c284329a98c7065b 100644
--- a/chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc
+++ b/chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc
@@ -83,7 +83,7 @@ class SendingTestReporter : public TestReporter {
// Passes if invoked with a good SSLInfo and for a hostname that is a Google
// pinned property.
virtual void SendReport(const std::string& hostname,
- const SSLInfo& ssl_info) OVERRIDE {
+ const SSLInfo& ssl_info) override {
EXPECT_TRUE(IsGoodSSLInfo(ssl_info));
EXPECT_TRUE(net::TransportSecurityState::IsGooglePinnedProperty(hostname));
passed_ = true;
@@ -106,7 +106,7 @@ class NotSendingTestReporter : public TestReporter {
// Passes if invoked with a bad SSLInfo and for a hostname that is not a
// Google pinned property.
virtual void SendReport(const std::string& hostname,
- const SSLInfo& ssl_info) OVERRIDE {
+ const SSLInfo& ssl_info) override {
EXPECT_FALSE(IsGoodSSLInfo(ssl_info));
EXPECT_FALSE(net::TransportSecurityState::IsGooglePinnedProperty(hostname));
}
@@ -120,7 +120,7 @@ class MockReporter : public ChromeFraudulentCertificateReporter {
: ChromeFraudulentCertificateReporter(request_context) {}
virtual scoped_ptr<net::URLRequest> CreateURLRequest(
- net::URLRequestContext* context) OVERRIDE {
+ net::URLRequestContext* context) override {
return context->CreateRequest(GURL(std::string()),
net::DEFAULT_PRIORITY,
NULL,
@@ -129,7 +129,7 @@ class MockReporter : public ChromeFraudulentCertificateReporter {
virtual void SendReport(
const std::string& hostname,
- const net::SSLInfo& ssl_info) OVERRIDE {
+ const net::SSLInfo& ssl_info) override {
DCHECK(!hostname.empty());
DCHECK(ssl_info.is_valid());
ChromeFraudulentCertificateReporter::SendReport(hostname, ssl_info);
« no previous file with comments | « chrome/browser/net/chrome_fraudulent_certificate_reporter.h ('k') | chrome/browser/net/chrome_http_user_agent_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698