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

Unified Diff: chrome/browser/predictors/autocomplete_action_predictor_unittest.cc

Issue 684613002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad indent 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/predictors/autocomplete_action_predictor_unittest.cc
diff --git a/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc b/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
index 170ac5f1b2f9b45406f21cc4cc34c68a20769929..9224fdf0296ebdc1ca365872e97c1ff7780975ea 100644
--- a/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
+++ b/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
@@ -90,13 +90,13 @@ class AutocompleteActionPredictorTest : public testing::Test {
predictor_(new AutocompleteActionPredictor(profile_.get())) {
}
- virtual ~AutocompleteActionPredictorTest() {
+ ~AutocompleteActionPredictorTest() override {
predictor_.reset(NULL);
profile_.reset(NULL);
loop_.RunUntilIdle();
}
- virtual void SetUp() {
+ void SetUp() override {
CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kPrerenderFromOmnibox,
switches::kPrerenderFromOmniboxSwitchValueEnabled);
@@ -110,7 +110,7 @@ class AutocompleteActionPredictorTest : public testing::Test {
ASSERT_TRUE(db_id_cache()->empty());
}
- virtual void TearDown() {
+ void TearDown() override {
profile_->DestroyHistoryService();
predictor_->Shutdown();
}

Powered by Google App Engine
This is Rietveld 408576698