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

Unified Diff: chrome/browser/sync/test/integration/sync_exponential_backoff_test.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/sync_exponential_backoff_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc b/chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc
index 52737fa23c36be985e0dd435213143d6876eedc1..58ee9c3aa0f114db6093b4b1125fe837c1c6a3f9 100644
--- a/chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc
+++ b/chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc
@@ -37,17 +37,17 @@ class ExponentialBackoffChecker : public SingleClientStatusChangeChecker {
retry_verifier_.Initialize(snap);
}
- virtual ~ExponentialBackoffChecker() {}
+ ~ExponentialBackoffChecker() override {}
// Checks if backoff is complete. Called repeatedly each time PSS notifies
// observers of a state change.
- virtual bool IsExitConditionSatisfied() override {
+ bool IsExitConditionSatisfied() override {
const SyncSessionSnapshot& snap = service()->GetLastSessionSnapshot();
retry_verifier_.VerifyRetryInterval(snap);
return (retry_verifier_.done() && retry_verifier_.Succeeded());
}
- virtual std::string GetDebugMessage() const override {
+ std::string GetDebugMessage() const override {
return base::StringPrintf("Verifying backoff intervals (%d/%d)",
retry_verifier_.retry_count(),
RetryVerifier::kMaxRetry);

Powered by Google App Engine
This is Rietveld 408576698