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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ValidateFileSystemRoot( |
87 const GURL& origin_url, | 87 const GURL& origin_url, |
88 FileSystemType type, | 88 FileSystemType type, |
89 bool create, | 89 bool create, |
90 const ValidateFileSystemCallback& callback) OVERRIDE; | 90 const ValidateFileSystemCallback& callback) OVERRIDE; |
91 virtual base::FilePath GetFileSystemRootPathOnFileThread( | |
92 const FileSystemURL& url, | |
93 bool create) OVERRIDE; | |
94 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 91 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
95 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; | 92 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; |
96 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( | 93 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( |
97 FileSystemType type, | 94 FileSystemType type, |
98 base::PlatformFileError* error_code) OVERRIDE; | 95 base::PlatformFileError* error_code) OVERRIDE; |
99 virtual void InitializeCopyOrMoveFileValidatorFactory( | 96 virtual void InitializeCopyOrMoveFileValidatorFactory( |
100 FileSystemType type, | 97 FileSystemType type, |
101 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; | 98 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; |
102 virtual FilePermissionPolicy GetPermissionPolicy( | 99 virtual FilePermissionPolicy GetPermissionPolicy( |
103 const FileSystemURL& url, | 100 const FileSystemURL& url, |
(...skipping 152 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 |