Lines Matching refs:storage

14 #include "storage/browser/fileapi/file_system_backend.h"
15 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
16 #include "storage/browser/quota/special_storage_policy.h"
17 #include "storage/common/fileapi/file_system_types.h"
19 namespace storage {
24 } // namespace storage
63 class FileSystemBackend : public storage::ExternalFileSystemBackend {
65 using storage::FileSystemBackend::OpenFileSystemCallback;
76 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy,
77 scoped_refptr<storage::ExternalMountPoints> mount_points,
78 storage::ExternalMountPoints* system_mount_points);
88 static bool CanHandleURL(const storage::FileSystemURL& url);
90 // storage::FileSystemBackend overrides.
91 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE;
92 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE;
93 virtual void ResolveURL(const storage::FileSystemURL& url,
94 storage::OpenFileSystemMode mode,
96 virtual storage::AsyncFileUtil* GetAsyncFileUtil(
97 storage::FileSystemType type) OVERRIDE;
98 virtual storage::WatcherManager* GetWatcherManager(
99 storage::FileSystemType type) OVERRIDE;
100 virtual storage::CopyOrMoveFileValidatorFactory*
101 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type,
103 virtual storage::FileSystemOperation* CreateFileSystemOperation(
104 const storage::FileSystemURL& url,
105 storage::FileSystemContext* context,
108 const storage::FileSystemURL& url) const OVERRIDE;
110 storage::FileSystemType type) const OVERRIDE;
111 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
112 const storage::FileSystemURL& path,
116 storage::FileSystemContext* context) const OVERRIDE;
117 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
118 const storage::FileSystemURL& url,
120 storage::FileSystemContext* context) const OVERRIDE;
121 virtual storage::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
122 virtual const storage::UpdateObserverList* GetUpdateObservers(
123 storage::FileSystemType type) const OVERRIDE;
124 virtual const storage::ChangeObserverList* GetChangeObservers(
125 storage::FileSystemType type) const OVERRIDE;
126 virtual const storage::AccessObserverList* GetAccessObservers(
127 storage::FileSystemType type) const OVERRIDE;
129 // storage::ExternalFileSystemBackend overrides.
131 const storage::FileSystemURL& url) const OVERRIDE;
143 const storage::FileSystemURL& url,
144 const storage::URLCallback& callback) OVERRIDE;
147 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_;
149 scoped_ptr<storage::AsyncFileUtil> local_file_util_;
171 scoped_refptr<storage::ExternalMountPoints> mount_points_;
175 storage::ExternalMountPoints* system_mount_points_;