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

Unified Diff: sync/api/fake_syncable_service.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/api/fake_sync_change_processor.h ('k') | sync/api/sync_change_processor_wrapper_for_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/fake_syncable_service.h
diff --git a/sync/api/fake_syncable_service.h b/sync/api/fake_syncable_service.h
index 1f1ffafe4bf8ba3c48a7520aae2534e4321ee9bd..8ecf05e2741b2c5becdf74548ed7209e9e673632 100644
--- a/sync/api/fake_syncable_service.h
+++ b/sync/api/fake_syncable_service.h
@@ -16,7 +16,7 @@ class SyncErrorFactory;
class FakeSyncableService : public SyncableService {
public:
FakeSyncableService();
- virtual ~FakeSyncableService();
+ ~FakeSyncableService() override;
// Setters for SyncableService implementation results.
void set_merge_data_and_start_syncing_error(const SyncError& error);
@@ -27,16 +27,15 @@ class FakeSyncableService : public SyncableService {
bool syncing() const;
// SyncableService implementation.
- virtual SyncMergeResult MergeDataAndStartSyncing(
+ SyncMergeResult MergeDataAndStartSyncing(
ModelType type,
const SyncDataList& initial_sync_data,
scoped_ptr<SyncChangeProcessor> sync_processor,
scoped_ptr<SyncErrorFactory> sync_error_factory) override;
- virtual void StopSyncing(ModelType type) override;
- virtual SyncDataList GetAllSyncData(ModelType type) const override;
- virtual SyncError ProcessSyncChanges(
- const tracked_objects::Location& from_here,
- const SyncChangeList& change_list) override;
+ void StopSyncing(ModelType type) override;
+ SyncDataList GetAllSyncData(ModelType type) const override;
+ SyncError ProcessSyncChanges(const tracked_objects::Location& from_here,
+ const SyncChangeList& change_list) override;
private:
scoped_ptr<SyncChangeProcessor> sync_processor_;
« no previous file with comments | « sync/api/fake_sync_change_processor.h ('k') | sync/api/sync_change_processor_wrapper_for_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698