Index: chrome/browser/chromeos/drive/directory_loader_unittest.cc |
diff --git a/chrome/browser/chromeos/drive/directory_loader_unittest.cc b/chrome/browser/chromeos/drive/directory_loader_unittest.cc |
index ef4f8daa6756ada349cfee251da3960c5296c069..bf879f9dad9844d41568fdcdc54251c85adb00e6 100644 |
--- a/chrome/browser/chromeos/drive/directory_loader_unittest.cc |
+++ b/chrome/browser/chromeos/drive/directory_loader_unittest.cc |
@@ -36,9 +36,7 @@ class TestDirectoryLoaderObserver : public ChangeListLoaderObserver { |
loader_->AddObserver(this); |
} |
- virtual ~TestDirectoryLoaderObserver() { |
- loader_->RemoveObserver(this); |
- } |
+ ~TestDirectoryLoaderObserver() override { loader_->RemoveObserver(this); } |
const std::set<base::FilePath>& changed_directories() const { |
return changed_directories_; |
@@ -46,8 +44,7 @@ class TestDirectoryLoaderObserver : public ChangeListLoaderObserver { |
void clear_changed_directories() { changed_directories_.clear(); } |
// ChageListObserver overrides: |
- virtual void OnDirectoryReloaded( |
- const base::FilePath& directory_path) override { |
+ void OnDirectoryReloaded(const base::FilePath& directory_path) override { |
changed_directories_.insert(directory_path); |
} |
@@ -68,7 +65,7 @@ void AccumulateReadDirectoryResult(ResourceEntryVector* out_entries, |
class DirectoryLoaderTest : public testing::Test { |
protected: |
- virtual void SetUp() override { |
+ void SetUp() override { |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
pref_service_.reset(new TestingPrefServiceSimple); |
test_util::RegisterDrivePrefs(pref_service_->registry()); |