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

Unified Diff: components/captive_portal/captive_portal_detector_unittest.cc

Issue 684513002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: components/captive_portal/captive_portal_detector_unittest.cc
diff --git a/components/captive_portal/captive_portal_detector_unittest.cc b/components/captive_portal/captive_portal_detector_unittest.cc
index 486baa145b7f7b4b5c78ba6f60b19c0231d40505..25eb35c1e373720d0e35e029a48cd23321d6246d 100644
--- a/components/captive_portal/captive_portal_detector_unittest.cc
+++ b/components/captive_portal/captive_portal_detector_unittest.cc
@@ -52,9 +52,9 @@ class CaptivePortalDetectorTest : public testing::Test,
public CaptivePortalDetectorTestBase {
public:
CaptivePortalDetectorTest() {}
- virtual ~CaptivePortalDetectorTest() {}
+ ~CaptivePortalDetectorTest() override {}
- virtual void SetUp() override {
+ void SetUp() override {
CHECK(base::MessageLoopProxy::current().get());
scoped_refptr<net::URLRequestContextGetter> request_context_getter(
new net::TestURLRequestContextGetter(
@@ -64,9 +64,7 @@ class CaptivePortalDetectorTest : public testing::Test,
set_detector(detector_.get());
}
- virtual void TearDown() override {
- detector_.reset();
- }
+ void TearDown() override { detector_.reset(); }
void RunTest(const CaptivePortalDetector::Results& expected_results,
int net_error,

Powered by Google App Engine
This is Rietveld 408576698