Lines Matching refs:storage

11 #include "storage/browser/fileapi/async_file_util_adapter.h"
12 #include "storage/browser/fileapi/file_system_backend.h"
13 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
19 namespace storage {
29 class TestFileSystemBackend : public storage::FileSystemBackend {
37 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE;
38 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE;
39 virtual void ResolveURL(const storage::FileSystemURL& url,
40 storage::OpenFileSystemMode mode,
42 virtual storage::AsyncFileUtil* GetAsyncFileUtil(
43 storage::FileSystemType type) OVERRIDE;
44 virtual storage::WatcherManager* GetWatcherManager(
45 storage::FileSystemType type) OVERRIDE;
46 virtual storage::CopyOrMoveFileValidatorFactory*
47 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type,
49 virtual storage::FileSystemOperation* CreateFileSystemOperation(
50 const storage::FileSystemURL& url,
51 storage::FileSystemContext* context,
54 const storage::FileSystemURL& url) const OVERRIDE;
56 storage::FileSystemType type) const OVERRIDE;
57 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
58 const storage::FileSystemURL& url,
62 storage::FileSystemContext* context) const OVERRIDE;
63 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
64 const storage::FileSystemURL& url,
66 storage::FileSystemContext* context) const OVERRIDE;
67 virtual storage::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
68 virtual const storage::UpdateObserverList* GetUpdateObservers(
69 storage::FileSystemType type) const OVERRIDE;
70 virtual const storage::ChangeObserverList* GetChangeObservers(
71 storage::FileSystemType type) const OVERRIDE;
72 virtual const storage::AccessObserverList* GetAccessObservers(
73 storage::FileSystemType type) const OVERRIDE;
78 scoped_ptr<storage::CopyOrMoveFileValidatorFactory> factory);
80 void AddFileChangeObserver(storage::FileChangeObserver* observer);
94 scoped_ptr<storage::AsyncFileUtilAdapter> file_util_;
95 scoped_ptr<storage::WatcherManager> watcher_manager_;
97 storage::UpdateObserverList update_observers_;
98 storage::ChangeObserverList change_observers_;
101 scoped_ptr<storage::CopyOrMoveFileValidatorFactory>