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

Unified Diff: chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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/non_frontend_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc b/chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc
index 320780c39f9eb7c2d291a61b6bffde01fbfcfdca..42374f7b6b0fb04b7001fa1fbf8d64e7c2244ce4 100644
--- a/chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc
@@ -63,8 +63,8 @@ class NonFrontendDataTypeControllerFake : public NonFrontendDataTypeController {
sync_service),
mock_(mock) {}
- virtual syncer::ModelType type() const OVERRIDE { return syncer::BOOKMARKS; }
- virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE {
+ virtual syncer::ModelType type() const override { return syncer::BOOKMARKS; }
+ virtual syncer::ModelSafeGroup model_safe_group() const override {
return syncer::GROUP_DB;
}
@@ -72,36 +72,36 @@ class NonFrontendDataTypeControllerFake : public NonFrontendDataTypeController {
virtual ~NonFrontendDataTypeControllerFake() {}
virtual ProfileSyncComponentsFactory::SyncComponents
- CreateSyncComponents() OVERRIDE {
+ CreateSyncComponents() override {
return profile_sync_factory()->
CreateBookmarkSyncComponents(profile_sync_service(), this);
}
virtual bool PostTaskOnBackendThread(
const tracked_objects::Location& from_here,
- const base::Closure& task) OVERRIDE {
+ const base::Closure& task) override {
return BrowserThread::PostTask(BrowserThread::DB, from_here, task);
}
// We mock the following methods because their default implementations do
// nothing, but we still want to make sure they're called appropriately.
- virtual bool StartModels() OVERRIDE {
+ virtual bool StartModels() override {
return mock_->StartModels();
}
virtual void RecordUnrecoverableError(
const tracked_objects::Location& from_here,
- const std::string& message) OVERRIDE {
+ const std::string& message) override {
mock_->RecordUnrecoverableError(from_here, message);
}
- virtual void RecordAssociationTime(base::TimeDelta time) OVERRIDE {
+ virtual void RecordAssociationTime(base::TimeDelta time) override {
mock_->RecordAssociationTime(time);
}
virtual void RecordStartFailure(
- DataTypeController::ConfigureResult result) OVERRIDE {
+ DataTypeController::ConfigureResult result) override {
mock_->RecordStartFailure(result);
}
virtual void DisconnectProcessor(
- sync_driver::ChangeProcessor* processor) OVERRIDE{
+ sync_driver::ChangeProcessor* processor) override{
mock_->DisconnectProcessor(processor);
}
« no previous file with comments | « chrome/browser/sync/glue/non_frontend_data_type_controller.h ('k') | chrome/browser/sync/glue/password_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698