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

Unified Diff: chrome/browser/extensions/api/storage/settings_sync_unittest.cc

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (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/extensions/api/storage/settings_sync_unittest.cc
diff --git a/chrome/browser/extensions/api/storage/settings_sync_unittest.cc b/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
index baa0defd647fd7a75030f371f9ec6459f52db7f0..f3d3564de25229987e75cefe2a7fc26c201473a9 100644
--- a/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
+++ b/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
@@ -97,7 +97,7 @@ class MockSyncChangeProcessor : public syncer::SyncChangeProcessor {
// syncer::SyncChangeProcessor implementation.
virtual syncer::SyncError ProcessSyncChanges(
const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) OVERRIDE {
+ const syncer::SyncChangeList& change_list) override {
if (fail_all_requests_) {
return syncer::SyncError(
FROM_HERE,
@@ -113,7 +113,7 @@ class MockSyncChangeProcessor : public syncer::SyncChangeProcessor {
}
virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const
- OVERRIDE {
+ override {
return syncer::SyncDataList();
}
@@ -172,7 +172,7 @@ class TestingValueStoreFactory : public SettingsStorageFactory {
// SettingsStorageFactory implementation.
virtual ValueStore* Create(const base::FilePath& base_path,
- const std::string& extension_id) OVERRIDE {
+ const std::string& extension_id) override {
TestingValueStore* new_storage = new TestingValueStore();
DCHECK(!created_.count(extension_id));
created_[extension_id] = new_storage;
@@ -183,7 +183,7 @@ class TestingValueStoreFactory : public SettingsStorageFactory {
// any files.
virtual void DeleteDatabaseIfExists(
const base::FilePath& base_path,
- const std::string& extension_id) OVERRIDE {}
+ const std::string& extension_id) override {}
private:
// SettingsStorageFactory is refcounted.
@@ -206,7 +206,7 @@ class ExtensionSettingsSyncTest : public testing::Test {
sync_processor_wrapper_(new syncer::SyncChangeProcessorWrapperForTest(
sync_processor_.get())) {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
profile_.reset(new TestingProfile(temp_dir_.path()));
storage_factory_->Reset(new LeveldbSettingsStorageFactory());
@@ -219,7 +219,7 @@ class ExtensionSettingsSyncTest : public testing::Test {
profile_.get(), &util::MockExtensionSystemWithEventRouter::Build);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
frontend_.reset();
profile_.reset();
// Execute any pending deletion tasks.

Powered by Google App Engine
This is Rietveld 408576698