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

Unified Diff: content/public/test/test_file_system_backend.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « content/public/test/test_file_error_injector.cc ('k') | content/public/test/test_file_system_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_file_system_backend.h
diff --git a/content/public/test/test_file_system_backend.h b/content/public/test/test_file_system_backend.h
index dbb994278b91c415eac07bf5bb9bca3e49fb4a67..d1cc94cd99a42abc3a76d088f926b09ac763aaa9 100644
--- a/content/public/test/test_file_system_backend.h
+++ b/content/public/test/test_file_system_backend.h
@@ -31,45 +31,44 @@ class TestFileSystemBackend : public storage::FileSystemBackend {
TestFileSystemBackend(
base::SequencedTaskRunner* task_runner,
const base::FilePath& base_path);
- virtual ~TestFileSystemBackend();
+ ~TestFileSystemBackend() override;
// FileSystemBackend implementation.
- virtual bool CanHandleType(storage::FileSystemType type) const override;
- virtual void Initialize(storage::FileSystemContext* context) override;
- virtual void ResolveURL(const storage::FileSystemURL& url,
- storage::OpenFileSystemMode mode,
- const OpenFileSystemCallback& callback) override;
- virtual storage::AsyncFileUtil* GetAsyncFileUtil(
+ bool CanHandleType(storage::FileSystemType type) const override;
+ void Initialize(storage::FileSystemContext* context) override;
+ void ResolveURL(const storage::FileSystemURL& url,
+ storage::OpenFileSystemMode mode,
+ const OpenFileSystemCallback& callback) override;
+ storage::AsyncFileUtil* GetAsyncFileUtil(
storage::FileSystemType type) override;
- virtual storage::WatcherManager* GetWatcherManager(
+ storage::WatcherManager* GetWatcherManager(
storage::FileSystemType type) override;
- virtual storage::CopyOrMoveFileValidatorFactory*
- GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type,
- base::File::Error* error_code) override;
- virtual storage::FileSystemOperation* CreateFileSystemOperation(
+ storage::CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory(
+ storage::FileSystemType type,
+ base::File::Error* error_code) override;
+ storage::FileSystemOperation* CreateFileSystemOperation(
const storage::FileSystemURL& url,
storage::FileSystemContext* context,
base::File::Error* error_code) const override;
- virtual bool SupportsStreaming(
- const storage::FileSystemURL& url) const override;
- virtual bool HasInplaceCopyImplementation(
+ bool SupportsStreaming(const storage::FileSystemURL& url) const override;
+ bool HasInplaceCopyImplementation(
storage::FileSystemType type) const override;
- virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
+ scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
const storage::FileSystemURL& url,
int64 offset,
int64 max_bytes_to_read,
const base::Time& expected_modification_time,
storage::FileSystemContext* context) const override;
- virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
+ scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
const storage::FileSystemURL& url,
int64 offset,
storage::FileSystemContext* context) const override;
- virtual storage::FileSystemQuotaUtil* GetQuotaUtil() override;
- virtual const storage::UpdateObserverList* GetUpdateObservers(
+ storage::FileSystemQuotaUtil* GetQuotaUtil() override;
+ const storage::UpdateObserverList* GetUpdateObservers(
storage::FileSystemType type) const override;
- virtual const storage::ChangeObserverList* GetChangeObservers(
+ const storage::ChangeObserverList* GetChangeObservers(
storage::FileSystemType type) const override;
- virtual const storage::AccessObserverList* GetAccessObservers(
+ const storage::AccessObserverList* GetAccessObservers(
storage::FileSystemType type) const override;
// Initialize the CopyOrMoveFileValidatorFactory. Invalid to call more than
« no previous file with comments | « content/public/test/test_file_error_injector.cc ('k') | content/public/test/test_file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698