| 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_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
| 6 #define WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 const GURL& origin_url, | 76 const GURL& origin_url, |
| 77 FileSystemType type, | 77 FileSystemType type, |
| 78 bool create, | 78 bool create, |
| 79 const ValidateFileSystemCallback& callback) OVERRIDE; | 79 const ValidateFileSystemCallback& callback) OVERRIDE; |
| 80 virtual FilePath GetFileSystemRootPathOnFileThread( | 80 virtual FilePath GetFileSystemRootPathOnFileThread( |
| 81 const FileSystemURL& url, | 81 const FileSystemURL& url, |
| 82 bool create) OVERRIDE; | 82 bool create) OVERRIDE; |
| 83 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; | 83 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; |
| 84 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 84 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
| 85 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 85 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
| 86 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 86 virtual FilePermissionPolicy GetPermissionPolicy( |
| 87 const OVERRIDE; | 87 const FileSystemURL& url, |
| 88 int permissions) const OVERRIDE; |
| 88 virtual FileSystemOperation* CreateFileSystemOperation( | 89 virtual FileSystemOperation* CreateFileSystemOperation( |
| 89 const FileSystemURL& url, | 90 const FileSystemURL& url, |
| 90 FileSystemContext* context, | 91 FileSystemContext* context, |
| 91 base::PlatformFileError* error_code) const OVERRIDE; | 92 base::PlatformFileError* error_code) const OVERRIDE; |
| 92 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 93 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
| 93 const FileSystemURL& url, | 94 const FileSystemURL& url, |
| 94 int64 offset, | 95 int64 offset, |
| 95 const base::Time& expected_modification_time, | 96 const base::Time& expected_modification_time, |
| 96 FileSystemContext* context) const OVERRIDE; | 97 FileSystemContext* context) const OVERRIDE; |
| 97 virtual FileStreamWriter* CreateFileStreamWriter( | 98 virtual FileStreamWriter* CreateFileStreamWriter( |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 bool enable_sync_directory_operation_; | 228 bool enable_sync_directory_operation_; |
| 228 | 229 |
| 229 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; | 230 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; |
| 230 | 231 |
| 231 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); | 232 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); |
| 232 }; | 233 }; |
| 233 | 234 |
| 234 } // namespace fileapi | 235 } // namespace fileapi |
| 235 | 236 |
| 236 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 237 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |