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

Unified Diff: chrome/browser/chromeos/drive/file_system_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/file_system_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system_unittest.cc b/chrome/browser/chromeos/drive/file_system_unittest.cc
index 1a6802d40d5ac491600900234114a1981c8f2e16..a16d98f5cac3e0e1d46de6cf273a45e277fcda6f 100644
--- a/chrome/browser/chromeos/drive/file_system_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system_unittest.cc
@@ -58,15 +58,14 @@ void AsyncInitializationCallback(
class MockDirectoryChangeObserver : public FileSystemObserver {
public:
MockDirectoryChangeObserver() {}
- virtual ~MockDirectoryChangeObserver() {}
+ ~MockDirectoryChangeObserver() override {}
// FileSystemObserver overrides.
- virtual void OnDirectoryChanged(
- const base::FilePath& directory_path) override {
+ void OnDirectoryChanged(const base::FilePath& directory_path) override {
changed_directories_.push_back(directory_path);
}
- virtual void OnFileChanged(const FileChange& new_file_change) override {
+ void OnFileChanged(const FileChange& new_file_change) override {
changed_files_.Apply(new_file_change);
}
@@ -86,7 +85,7 @@ class MockDirectoryChangeObserver : public FileSystemObserver {
class FileSystemTest : 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());

Powered by Google App Engine
This is Rietveld 408576698