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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 virtual FilePath GetFileSystemRootPathOnFileThread( | 82 virtual FilePath GetFileSystemRootPathOnFileThread( |
83 const GURL& origin_url, | 83 const GURL& origin_url, |
84 FileSystemType type, | 84 FileSystemType type, |
85 const FilePath& virtual_path, | 85 const FilePath& virtual_path, |
86 bool create) OVERRIDE; | 86 bool create) OVERRIDE; |
87 virtual bool IsAccessAllowed( | 87 virtual bool IsAccessAllowed( |
88 const GURL& origin_url, | 88 const GURL& origin_url, |
89 FileSystemType type, | 89 FileSystemType type, |
90 const FilePath& virtual_path) OVERRIDE; | 90 const FilePath& virtual_path) OVERRIDE; |
91 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 91 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
92 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; | 92 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
93 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 93 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) |
94 const OVERRIDE; | 94 const OVERRIDE; |
95 virtual FileSystemOperationInterface* CreateFileSystemOperation( | 95 virtual FileSystemOperationInterface* CreateFileSystemOperation( |
96 const FileSystemURL& url, | 96 const FileSystemURL& url, |
97 FileSystemContext* context) const OVERRIDE; | 97 FileSystemContext* context) const OVERRIDE; |
98 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 98 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
99 const FileSystemURL& url, | 99 const FileSystemURL& url, |
100 int64 offset, | 100 int64 offset, |
101 FileSystemContext* context) const OVERRIDE; | 101 FileSystemContext* context) const OVERRIDE; |
102 virtual FileStreamWriter* CreateFileStreamWriter( | 102 virtual FileStreamWriter* CreateFileStreamWriter( |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 base::Time next_release_time_for_open_filesystem_stat_; | 195 base::Time next_release_time_for_open_filesystem_stat_; |
196 | 196 |
197 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; | 197 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; |
198 | 198 |
199 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); | 199 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); |
200 }; | 200 }; |
201 | 201 |
202 } // namespace fileapi | 202 } // namespace fileapi |
203 | 203 |
204 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 204 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |