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

Unified Diff: sync/test/engine/mock_update_handler.h

Issue 642023004: Standardize usage of virtual/override/final in 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
« no previous file with comments | « sync/test/engine/mock_nudge_handler.h ('k') | sync/test/fake_encryptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/mock_update_handler.h
diff --git a/sync/test/engine/mock_update_handler.h b/sync/test/engine/mock_update_handler.h
index 74393dfbf666299eaf77de5c5465dd5665875582..6993ab2ce1bacf0797babff67bbb0a97a28e50cd 100644
--- a/sync/test/engine/mock_update_handler.h
+++ b/sync/test/engine/mock_update_handler.h
@@ -15,20 +15,19 @@ namespace syncer {
class MockUpdateHandler : public UpdateHandler {
public:
explicit MockUpdateHandler(ModelType type);
- virtual ~MockUpdateHandler();
+ ~MockUpdateHandler() override;
// UpdateHandler implementation.
- virtual void GetDownloadProgress(
+ void GetDownloadProgress(
sync_pb::DataTypeProgressMarker* progress_marker) const override;
- virtual void GetDataTypeContext(sync_pb::DataTypeContext* context) const
- override;
- virtual SyncerError ProcessGetUpdatesResponse(
+ void GetDataTypeContext(sync_pb::DataTypeContext* context) const override;
+ SyncerError ProcessGetUpdatesResponse(
const sync_pb::DataTypeProgressMarker& progress_marker,
const sync_pb::DataTypeContext& mutated_context,
const SyncEntityList& applicable_updates,
sessions::StatusController* status) override;
- virtual void ApplyUpdates(sessions::StatusController* status) override;
- virtual void PassiveApplyUpdates(sessions::StatusController* status) override;
+ void ApplyUpdates(sessions::StatusController* status) override;
+ void PassiveApplyUpdates(sessions::StatusController* status) override;
// Returns the number of times ApplyUpdates() was invoked.
int GetApplyUpdatesCount();
« no previous file with comments | « sync/test/engine/mock_nudge_handler.h ('k') | sync/test/fake_encryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698