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

Unified Diff: chrome/browser/chromeos/drive/fileapi/async_file_util.h

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/fileapi/async_file_util.h
diff --git a/chrome/browser/chromeos/drive/fileapi/async_file_util.h b/chrome/browser/chromeos/drive/fileapi/async_file_util.h
index 02d8b0f4eeab97754d76c0eeae8d9409d19f060f..b62b48d0fe913b75fc46270f1fe95d2ca0cc3c7a 100644
--- a/chrome/browser/chromeos/drive/fileapi/async_file_util.h
+++ b/chrome/browser/chromeos/drive/fileapi/async_file_util.h
@@ -19,72 +19,63 @@ namespace internal {
class AsyncFileUtil : public storage::AsyncFileUtil {
public:
AsyncFileUtil();
- virtual ~AsyncFileUtil();
+ ~AsyncFileUtil() override;
// storage::AsyncFileUtil overrides.
- virtual void CreateOrOpen(
- scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& url,
- int file_flags,
- const CreateOrOpenCallback& callback) override;
- virtual void EnsureFileExists(
- scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& url,
- const EnsureFileExistsCallback& callback) override;
- virtual void CreateDirectory(
- scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& url,
- bool exclusive,
- bool recursive,
- const StatusCallback& callback) override;
- virtual void GetFileInfo(
- scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& url,
- const GetFileInfoCallback& callback) override;
- virtual void ReadDirectory(
- scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& url,
- const ReadDirectoryCallback& callback) override;
- virtual void Touch(scoped_ptr<storage::FileSystemOperationContext> context,
+ void CreateOrOpen(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& url,
+ int file_flags,
+ const CreateOrOpenCallback& callback) override;
+ void EnsureFileExists(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& url,
+ const EnsureFileExistsCallback& callback) override;
+ void CreateDirectory(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& url,
+ bool exclusive,
+ bool recursive,
+ const StatusCallback& callback) override;
+ void GetFileInfo(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& url,
+ const GetFileInfoCallback& callback) override;
+ void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context,
const storage::FileSystemURL& url,
- const base::Time& last_access_time,
- const base::Time& last_modified_time,
+ const ReadDirectoryCallback& callback) override;
+ void Touch(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& url,
+ const base::Time& last_access_time,
+ const base::Time& last_modified_time,
+ const StatusCallback& callback) override;
+ void Truncate(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& url,
+ int64 length,
+ const StatusCallback& callback) override;
+ void CopyFileLocal(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& src_url,
+ const storage::FileSystemURL& dest_url,
+ CopyOrMoveOption option,
+ const CopyFileProgressCallback& progress_callback,
const StatusCallback& callback) override;
- virtual void Truncate(scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& url,
- int64 length,
- const StatusCallback& callback) override;
- virtual void CopyFileLocal(
- scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& src_url,
- const storage::FileSystemURL& dest_url,
- CopyOrMoveOption option,
- const CopyFileProgressCallback& progress_callback,
- const StatusCallback& callback) override;
- virtual void MoveFileLocal(
- scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& src_url,
- const storage::FileSystemURL& dest_url,
- CopyOrMoveOption option,
- const StatusCallback& callback) override;
- virtual void CopyInForeignFile(
+ void MoveFileLocal(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& src_url,
+ const storage::FileSystemURL& dest_url,
+ CopyOrMoveOption option,
+ const StatusCallback& callback) override;
+ void CopyInForeignFile(
scoped_ptr<storage::FileSystemOperationContext> context,
const base::FilePath& src_file_path,
const storage::FileSystemURL& dest_url,
const StatusCallback& callback) override;
- virtual void DeleteFile(
- scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& url,
- const StatusCallback& callback) override;
- virtual void DeleteDirectory(
- scoped_ptr<storage::FileSystemOperationContext> context,
- const storage::FileSystemURL& url,
- const StatusCallback& callback) override;
- virtual void DeleteRecursively(
+ void DeleteFile(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& url,
+ const StatusCallback& callback) override;
+ void DeleteDirectory(scoped_ptr<storage::FileSystemOperationContext> context,
+ const storage::FileSystemURL& url,
+ const StatusCallback& callback) override;
+ void DeleteRecursively(
scoped_ptr<storage::FileSystemOperationContext> context,
const storage::FileSystemURL& url,
const StatusCallback& callback) override;
- virtual void CreateSnapshotFile(
+ void CreateSnapshotFile(
scoped_ptr<storage::FileSystemOperationContext> context,
const storage::FileSystemURL& url,
const CreateSnapshotFileCallback& callback) override;

Powered by Google App Engine
This is Rietveld 408576698