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

Side by Side Diff: storage/browser/fileapi/isolated_file_system_backend.h

Issue 631823003: replace OVERRIDE and FINAL with override and final in storage/ (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef STORAGE_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_
6 #define STORAGE_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_ 6 #define STORAGE_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "storage/browser/fileapi/file_system_backend.h" 9 #include "storage/browser/fileapi/file_system_backend.h"
10 #include "storage/browser/fileapi/task_runner_bound_observer_list.h" 10 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
11 11
12 namespace storage { 12 namespace storage {
13 13
14 class AsyncFileUtilAdapter; 14 class AsyncFileUtilAdapter;
15 15
16 class IsolatedFileSystemBackend : public FileSystemBackend { 16 class IsolatedFileSystemBackend : public FileSystemBackend {
17 public: 17 public:
18 IsolatedFileSystemBackend(); 18 IsolatedFileSystemBackend();
19 virtual ~IsolatedFileSystemBackend(); 19 virtual ~IsolatedFileSystemBackend();
20 20
21 // FileSystemBackend implementation. 21 // FileSystemBackend implementation.
22 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; 22 virtual bool CanHandleType(FileSystemType type) const override;
23 virtual void Initialize(FileSystemContext* context) OVERRIDE; 23 virtual void Initialize(FileSystemContext* context) override;
24 virtual void ResolveURL(const FileSystemURL& url, 24 virtual void ResolveURL(const FileSystemURL& url,
25 OpenFileSystemMode mode, 25 OpenFileSystemMode mode,
26 const OpenFileSystemCallback& callback) OVERRIDE; 26 const OpenFileSystemCallback& callback) override;
27 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; 27 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) override;
28 virtual WatcherManager* GetWatcherManager(FileSystemType type) OVERRIDE; 28 virtual WatcherManager* GetWatcherManager(FileSystemType type) override;
29 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( 29 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory(
30 FileSystemType type, 30 FileSystemType type,
31 base::File::Error* error_code) OVERRIDE; 31 base::File::Error* error_code) override;
32 virtual FileSystemOperation* CreateFileSystemOperation( 32 virtual FileSystemOperation* CreateFileSystemOperation(
33 const FileSystemURL& url, 33 const FileSystemURL& url,
34 FileSystemContext* context, 34 FileSystemContext* context,
35 base::File::Error* error_code) const OVERRIDE; 35 base::File::Error* error_code) const override;
36 virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE; 36 virtual bool SupportsStreaming(const FileSystemURL& url) const override;
37 virtual bool HasInplaceCopyImplementation( 37 virtual bool HasInplaceCopyImplementation(
38 storage::FileSystemType type) const OVERRIDE; 38 storage::FileSystemType type) const override;
39 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( 39 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
40 const FileSystemURL& url, 40 const FileSystemURL& url,
41 int64 offset, 41 int64 offset,
42 int64 max_bytes_to_read, 42 int64 max_bytes_to_read,
43 const base::Time& expected_modification_time, 43 const base::Time& expected_modification_time,
44 FileSystemContext* context) const OVERRIDE; 44 FileSystemContext* context) const override;
45 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter( 45 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter(
46 const FileSystemURL& url, 46 const FileSystemURL& url,
47 int64 offset, 47 int64 offset,
48 FileSystemContext* context) const OVERRIDE; 48 FileSystemContext* context) const override;
49 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; 49 virtual FileSystemQuotaUtil* GetQuotaUtil() override;
50 virtual const UpdateObserverList* GetUpdateObservers( 50 virtual const UpdateObserverList* GetUpdateObservers(
51 FileSystemType type) const OVERRIDE; 51 FileSystemType type) const override;
52 virtual const ChangeObserverList* GetChangeObservers( 52 virtual const ChangeObserverList* GetChangeObservers(
53 FileSystemType type) const OVERRIDE; 53 FileSystemType type) const override;
54 virtual const AccessObserverList* GetAccessObservers( 54 virtual const AccessObserverList* GetAccessObservers(
55 FileSystemType type) const OVERRIDE; 55 FileSystemType type) const override;
56 56
57 private: 57 private:
58 scoped_ptr<AsyncFileUtilAdapter> isolated_file_util_; 58 scoped_ptr<AsyncFileUtilAdapter> isolated_file_util_;
59 scoped_ptr<AsyncFileUtilAdapter> dragged_file_util_; 59 scoped_ptr<AsyncFileUtilAdapter> dragged_file_util_;
60 scoped_ptr<AsyncFileUtilAdapter> transient_file_util_; 60 scoped_ptr<AsyncFileUtilAdapter> transient_file_util_;
61 }; 61 };
62 62
63 } // namespace storage 63 } // namespace storage
64 64
65 #endif // STORAGE_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_ 65 #endif // STORAGE_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/isolated_context.h ('k') | storage/browser/fileapi/local_file_stream_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698