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

Unified Diff: chrome/browser/prefs/pref_model_associator_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/prefs/pref_model_associator_unittest.cc
diff --git a/chrome/browser/prefs/pref_model_associator_unittest.cc b/chrome/browser/prefs/pref_model_associator_unittest.cc
index 95293551d9bfd14c80eec9cabdaa31b2897f7186..44e557740412b6d171a8e9b508f2daba6ce42f01 100644
--- a/chrome/browser/prefs/pref_model_associator_unittest.cc
+++ b/chrome/browser/prefs/pref_model_associator_unittest.cc
@@ -12,9 +12,7 @@
class AbstractPreferenceMergeTest : public testing::Test {
protected:
- virtual void SetUp() {
- pref_service_ = profile_.GetPrefs();
- }
+ void SetUp() override { pref_service_ = profile_.GetPrefs(); }
void SetContentPattern(base::DictionaryValue* patterns_dict,
const std::string& expression,
@@ -59,7 +57,7 @@ class ListPreferenceMergeTest : public AbstractPreferenceMergeTest {
local_url0_("http://example.com/local0"),
local_url1_("http://example.com/local1") {}
- virtual void SetUp() {
+ void SetUp() override {
AbstractPreferenceMergeTest::SetUp();
server_url_list_.Append(new base::StringValue(server_url0_));
server_url_list_.Append(new base::StringValue(server_url1_));
@@ -206,7 +204,7 @@ class DictionaryPreferenceMergeTest : public AbstractPreferenceMergeTest {
content_type0_("content_type0"),
content_type1_("content_type1") {}
- virtual void SetUp() {
+ void SetUp() override {
AbstractPreferenceMergeTest::SetUp();
SetContentPattern(&server_patterns_, expression0_, content_type0_, 1);
SetContentPattern(&server_patterns_, expression0_, content_type1_, 2);
@@ -365,7 +363,7 @@ class IndividualPreferenceMergeTest : public AbstractPreferenceMergeTest {
expression1_("expression1"),
content_type0_("content_type0") {}
- virtual void SetUp() {
+ void SetUp() override {
AbstractPreferenceMergeTest::SetUp();
server_url_list_.Append(new base::StringValue(url0_));
SetContentPattern(&server_patterns_, expression0_, content_type0_, 1);
« no previous file with comments | « chrome/browser/prefs/leveldb_pref_store_unittest.cc ('k') | chrome/browser/prefs/prefs_syncable_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698