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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 SandboxMountPointProvider( | 76 SandboxMountPointProvider( |
77 quota::QuotaManagerProxy* quota_manager_proxy, | 77 quota::QuotaManagerProxy* quota_manager_proxy, |
78 base::SequencedTaskRunner* file_task_runner, | 78 base::SequencedTaskRunner* file_task_runner, |
79 const base::FilePath& profile_path, | 79 const base::FilePath& profile_path, |
80 const FileSystemOptions& file_system_options, | 80 const FileSystemOptions& file_system_options, |
81 quota::SpecialStoragePolicy* special_storage_policy); | 81 quota::SpecialStoragePolicy* special_storage_policy); |
82 virtual ~SandboxMountPointProvider(); | 82 virtual ~SandboxMountPointProvider(); |
83 | 83 |
84 // FileSystemMountPointProvider overrides. | 84 // FileSystemMountPointProvider overrides. |
85 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; | 85 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; |
86 virtual void ValidateFileSystemRoot( | 86 virtual void OpenFileSystem( |
87 const GURL& origin_url, | 87 const GURL& origin_url, |
88 FileSystemType type, | 88 FileSystemType type, |
89 bool create, | 89 OpenFileSystemMode mode, |
90 const ValidateFileSystemCallback& callback) OVERRIDE; | 90 const OpenFileSystemCallback& callback) OVERRIDE; |
91 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 91 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
92 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; | 92 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; |
93 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( | 93 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( |
94 FileSystemType type, | 94 FileSystemType type, |
95 base::PlatformFileError* error_code) OVERRIDE; | 95 base::PlatformFileError* error_code) OVERRIDE; |
96 virtual void InitializeCopyOrMoveFileValidatorFactory( | 96 virtual void InitializeCopyOrMoveFileValidatorFactory( |
97 FileSystemType type, | 97 FileSystemType type, |
98 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; | 98 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; |
99 virtual FilePermissionPolicy GetPermissionPolicy( | 99 virtual FilePermissionPolicy GetPermissionPolicy( |
100 const FileSystemURL& url, | 100 const FileSystemURL& url, |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; | 253 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
254 | 254 |
255 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; | 255 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; |
256 | 256 |
257 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); | 257 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); |
258 }; | 258 }; |
259 | 259 |
260 } // namespace fileapi | 260 } // namespace fileapi |
261 | 261 |
262 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 262 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |