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

Unified Diff: chrome/browser/chromeos/drive/download_handler_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/download_handler_unittest.cc
diff --git a/chrome/browser/chromeos/drive/download_handler_unittest.cc b/chrome/browser/chromeos/drive/download_handler_unittest.cc
index e081d8d488edec5c43b2754ce09a51ab54dd319d..d0143811e9684a7478cd6145508e4346e8888ebf 100644
--- a/chrome/browser/chromeos/drive/download_handler_unittest.cc
+++ b/chrome/browser/chromeos/drive/download_handler_unittest.cc
@@ -28,18 +28,16 @@ class DownloadHandlerTestFileSystem : public DummyFileSystem {
void set_error(FileError error) { error_ = error; }
// FileSystemInterface overrides.
- virtual void GetResourceEntry(
- const base::FilePath& file_path,
- const GetResourceEntryCallback& callback) override {
+ void GetResourceEntry(const base::FilePath& file_path,
+ const GetResourceEntryCallback& callback) override {
callback.Run(error_, scoped_ptr<ResourceEntry>(
error_ == FILE_ERROR_OK ? new ResourceEntry : NULL));
}
- virtual void CreateDirectory(
- const base::FilePath& directory_path,
- bool is_exclusive,
- bool is_recursive,
- const FileOperationCallback& callback) override {
+ void CreateDirectory(const base::FilePath& directory_path,
+ bool is_exclusive,
+ bool is_recursive,
+ const FileOperationCallback& callback) override {
callback.Run(error_);
}
@@ -54,7 +52,7 @@ class DownloadHandlerTest : public testing::Test {
DownloadHandlerTest()
: download_manager_(new content::MockDownloadManager) {}
- virtual void SetUp() override {
+ void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
// Set expectations for download item.
« no previous file with comments | « chrome/browser/chromeos/drive/download_handler.cc ('k') | chrome/browser/chromeos/drive/drive_file_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698