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

Unified Diff: chrome/browser/sync/glue/sync_backend_registrar.h

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/glue/sync_backend_registrar.h
diff --git a/chrome/browser/sync/glue/sync_backend_registrar.h b/chrome/browser/sync/glue/sync_backend_registrar.h
index e3e226bf2759a3aefd958644082a0b477f3ffc8d..e6e2d535a7e104b293e76e063b2b8e42d54fde89 100644
--- a/chrome/browser/sync/glue/sync_backend_registrar.h
+++ b/chrome/browser/sync/glue/sync_backend_registrar.h
@@ -58,7 +58,7 @@ class SyncBackendRegistrar : public syncer::SyncManager::ChangeDelegate,
// loops are destroyed. Registrar destroys itself on last worker
// notification. Sync thread will be stopped if ownership was not
// released.
- virtual ~SyncBackendRegistrar();
+ ~SyncBackendRegistrar() override;
// Informs the SyncBackendRegistrar of the currently enabled set of types.
// These types will be placed in the passive group. This function should be
@@ -105,18 +105,18 @@ class SyncBackendRegistrar : public syncer::SyncManager::ChangeDelegate,
// SyncManager::ChangeDelegate implementation. May be called from
// any thread.
- virtual void OnChangesApplied(
+ void OnChangesApplied(
syncer::ModelType model_type,
int64 model_version,
const syncer::BaseTransaction* trans,
const syncer::ImmutableChangeRecordList& changes) override;
- virtual void OnChangesComplete(syncer::ModelType model_type) override;
+ void OnChangesComplete(syncer::ModelType model_type) override;
void GetWorkers(std::vector<scoped_refptr<syncer::ModelSafeWorker> >* out);
void GetModelSafeRoutingInfo(syncer::ModelSafeRoutingInfo* out);
// syncer::WorkerLoopDestructionObserver implementation.
- virtual void OnWorkerLoopDestroyed(syncer::ModelSafeGroup group) override;
+ void OnWorkerLoopDestroyed(syncer::ModelSafeGroup group) override;
// Release ownership of |sync_thread_|. Called when sync is disabled.
scoped_ptr<base::Thread> ReleaseSyncThread();
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_mock.h ('k') | chrome/browser/sync/glue/sync_backend_registrar_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698