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

Unified Diff: sync/internal_api/sync_context_proxy_impl_unittest.cc

Issue 792343004: Standardize usage of virtual/override/final specifiers in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: sync/internal_api/sync_context_proxy_impl_unittest.cc
diff --git a/sync/internal_api/sync_context_proxy_impl_unittest.cc b/sync/internal_api/sync_context_proxy_impl_unittest.cc
index 49ed02de0727c29dba90ceb7b72ea1259fa99c89..1ab12987c266a470d55c19e70ef28788582b73d9 100644
--- a/sync/internal_api/sync_context_proxy_impl_unittest.cc
+++ b/sync/internal_api/sync_context_proxy_impl_unittest.cc
@@ -23,7 +23,7 @@ class SyncContextProxyImplTest : public ::testing::Test {
: sync_task_runner_(base::ThreadTaskRunnerHandle::Get()),
type_task_runner_(base::ThreadTaskRunnerHandle::Get()) {}
- virtual void SetUp() {
+ void SetUp() override {
dir_maker_.SetUp();
registry_.reset(new ModelTypeRegistry(
workers_, dir_maker_.directory(), &nudge_handler_));
@@ -31,7 +31,7 @@ class SyncContextProxyImplTest : public ::testing::Test {
new SyncContextProxyImpl(sync_task_runner_, registry_->AsWeakPtr()));
}
- virtual void TearDown() {
+ void TearDown() override {
context_proxy_.reset();
registry_.reset();
dir_maker_.TearDown();
« no previous file with comments | « sync/internal_api/public/util/weak_handle_unittest.cc ('k') | sync/internal_api/sync_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698