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

Unified Diff: chrome/browser/sync/test/integration/preferences_helper.cc

Issue 666733003: Standardize usage of virtual/override/final in chrome/browser/sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/sync/test/integration/preferences_helper.cc
diff --git a/chrome/browser/sync/test/integration/preferences_helper.cc b/chrome/browser/sync/test/integration/preferences_helper.cc
index e1afc6b2ac299c91022ea198be54e8352b4cc7a2..1f1fd0618a8c4e98aa32a1b85d876b6f578fdb9e 100644
--- a/chrome/browser/sync/test/integration/preferences_helper.cc
+++ b/chrome/browser/sync/test/integration/preferences_helper.cc
@@ -216,11 +216,11 @@ namespace {
class PrefMatchChecker : public StatusChangeChecker {
public:
explicit PrefMatchChecker(const char* path);
- virtual ~PrefMatchChecker();
+ ~PrefMatchChecker() override;
// StatusChangeChecker implementation.
virtual bool IsExitConditionSatisfied() = 0;
- virtual std::string GetDebugMessage() const override;
+ std::string GetDebugMessage() const override;
// Wait for condition to become true.
void Wait();
@@ -278,10 +278,10 @@ void PrefMatchChecker::RegisterPrefListener(PrefService* pref_service) {
class ListPrefMatchChecker : public PrefMatchChecker {
public:
explicit ListPrefMatchChecker(const char* path);
- virtual ~ListPrefMatchChecker();
+ ~ListPrefMatchChecker() override;
// Implementation of PrefMatchChecker.
- virtual bool IsExitConditionSatisfied() override;
+ bool IsExitConditionSatisfied() override;
};
ListPrefMatchChecker::ListPrefMatchChecker(const char* path)
@@ -299,10 +299,10 @@ bool ListPrefMatchChecker::IsExitConditionSatisfied() {
class BooleanPrefMatchChecker : public PrefMatchChecker {
public:
explicit BooleanPrefMatchChecker(const char* path);
- virtual ~BooleanPrefMatchChecker();
+ ~BooleanPrefMatchChecker() override;
// Implementation of PrefMatchChecker.
- virtual bool IsExitConditionSatisfied() override;
+ bool IsExitConditionSatisfied() override;
};
BooleanPrefMatchChecker::BooleanPrefMatchChecker(const char* path)
@@ -320,10 +320,10 @@ bool BooleanPrefMatchChecker::IsExitConditionSatisfied() {
class IntegerPrefMatchChecker : public PrefMatchChecker {
public:
explicit IntegerPrefMatchChecker(const char* path);
- virtual ~IntegerPrefMatchChecker();
+ ~IntegerPrefMatchChecker() override;
// Implementation of PrefMatchChecker.
- virtual bool IsExitConditionSatisfied() override;
+ bool IsExitConditionSatisfied() override;
};
IntegerPrefMatchChecker::IntegerPrefMatchChecker(const char* path)
@@ -341,10 +341,10 @@ bool IntegerPrefMatchChecker::IsExitConditionSatisfied() {
class StringPrefMatchChecker : public PrefMatchChecker {
public:
explicit StringPrefMatchChecker(const char* path);
- virtual ~StringPrefMatchChecker();
+ ~StringPrefMatchChecker() override;
// Implementation of PrefMatchChecker.
- virtual bool IsExitConditionSatisfied() override;
+ bool IsExitConditionSatisfied() override;
};
StringPrefMatchChecker::StringPrefMatchChecker(const char* path)

Powered by Google App Engine
This is Rietveld 408576698