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

Unified Diff: components/sync_driver/fake_generic_change_processor.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (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: components/sync_driver/fake_generic_change_processor.h
diff --git a/components/sync_driver/fake_generic_change_processor.h b/components/sync_driver/fake_generic_change_processor.h
index a16c9e4cf051404503caeb8b6d1027e3d3375a2b..0619edd728c87f11b5087585adecb3ec0b13f85a 100644
--- a/components/sync_driver/fake_generic_change_processor.h
+++ b/components/sync_driver/fake_generic_change_processor.h
@@ -19,22 +19,22 @@ class FakeGenericChangeProcessor : public GenericChangeProcessor {
public:
FakeGenericChangeProcessor(syncer::ModelType type,
SyncApiComponentFactory* sync_factory);
- virtual ~FakeGenericChangeProcessor();
+ ~FakeGenericChangeProcessor() override;
// Setters for GenericChangeProcessor implementation results.
void set_sync_model_has_user_created_nodes(bool has_nodes);
void set_sync_model_has_user_created_nodes_success(bool success);
// GenericChangeProcessor implementations.
- virtual syncer::SyncError ProcessSyncChanges(
+ syncer::SyncError ProcessSyncChanges(
const tracked_objects::Location& from_here,
const syncer::SyncChangeList& change_list) override;
- virtual syncer::SyncError GetAllSyncDataReturnError(
+ syncer::SyncError GetAllSyncDataReturnError(
syncer::SyncDataList* data) const override;
- virtual bool GetDataTypeContext(std::string* context) const override;
- virtual int GetSyncCount() override;
- virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes) override;
- virtual bool CryptoReadyIfNecessary() override;
+ bool GetDataTypeContext(std::string* context) const override;
+ int GetSyncCount() override;
+ bool SyncModelHasUserCreatedNodes(bool* has_nodes) override;
+ bool CryptoReadyIfNecessary() override;
private:
bool sync_model_has_user_created_nodes_;
@@ -46,8 +46,8 @@ class FakeGenericChangeProcessorFactory : public GenericChangeProcessorFactory {
public:
explicit FakeGenericChangeProcessorFactory(
scoped_ptr<FakeGenericChangeProcessor> processor);
- virtual ~FakeGenericChangeProcessorFactory();
- virtual scoped_ptr<GenericChangeProcessor> CreateGenericChangeProcessor(
+ ~FakeGenericChangeProcessorFactory() override;
+ scoped_ptr<GenericChangeProcessor> CreateGenericChangeProcessor(
syncer::ModelType type,
syncer::UserShare* user_share,
DataTypeErrorHandler* error_handler,
« no previous file with comments | « components/sync_driver/fake_data_type_controller.h ('k') | components/sync_driver/generic_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698