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

Unified Diff: chrome/browser/chromeos/drive/directory_loader_unittest.cc

Issue 817063006: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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/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());
« no previous file with comments | « chrome/browser/chromeos/drive/change_list_processor_unittest.cc ('k') | chrome/browser/chromeos/drive/download_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698