OLD | NEW |
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 WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 bool create, | 89 bool create, |
90 const ValidateFileSystemCallback& callback) OVERRIDE; | 90 const ValidateFileSystemCallback& callback) OVERRIDE; |
91 virtual base::FilePath GetFileSystemRootPathOnFileThread( | 91 virtual base::FilePath GetFileSystemRootPathOnFileThread( |
92 const FileSystemURL& url, | 92 const FileSystemURL& url, |
93 bool create) OVERRIDE; | 93 bool create) OVERRIDE; |
94 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 94 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
95 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; | 95 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; |
96 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( | 96 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( |
97 FileSystemType type, | 97 FileSystemType type, |
98 base::PlatformFileError* error_code) OVERRIDE; | 98 base::PlatformFileError* error_code) OVERRIDE; |
99 virtual void InitializeCopyOrMoveFileValidatorFactory( | |
100 FileSystemType type, | |
101 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; | |
102 virtual FilePermissionPolicy GetPermissionPolicy( | 99 virtual FilePermissionPolicy GetPermissionPolicy( |
103 const FileSystemURL& url, | 100 const FileSystemURL& url, |
104 int permissions) const OVERRIDE; | 101 int permissions) const OVERRIDE; |
105 virtual FileSystemOperation* CreateFileSystemOperation( | 102 virtual FileSystemOperation* CreateFileSystemOperation( |
106 const FileSystemURL& url, | 103 const FileSystemURL& url, |
107 FileSystemContext* context, | 104 FileSystemContext* context, |
108 base::PlatformFileError* error_code) const OVERRIDE; | 105 base::PlatformFileError* error_code) const OVERRIDE; |
109 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 106 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
110 const FileSystemURL& url, | 107 const FileSystemURL& url, |
111 int64 offset, | 108 int64 offset, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; | 253 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
257 | 254 |
258 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; | 255 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; |
259 | 256 |
260 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); | 257 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); |
261 }; | 258 }; |
262 | 259 |
263 } // namespace fileapi | 260 } // namespace fileapi |
264 | 261 |
265 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 262 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |