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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 94 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
95 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 95 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) |
96 const OVERRIDE; | 96 const OVERRIDE; |
97 virtual FileSystemOperation* CreateFileSystemOperation( | 97 virtual FileSystemOperation* CreateFileSystemOperation( |
98 const FileSystemURL& url, | 98 const FileSystemURL& url, |
99 FileSystemContext* context, | 99 FileSystemContext* context, |
100 base::PlatformFileError* error_code) const OVERRIDE; | 100 base::PlatformFileError* error_code) const OVERRIDE; |
101 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 101 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
102 const FileSystemURL& url, | 102 const FileSystemURL& url, |
103 int64 offset, | 103 int64 offset, |
| 104 const base::Time& expected_modification_time, |
104 FileSystemContext* context) const OVERRIDE; | 105 FileSystemContext* context) const OVERRIDE; |
105 virtual FileStreamWriter* CreateFileStreamWriter( | 106 virtual FileStreamWriter* CreateFileStreamWriter( |
106 const FileSystemURL& url, | 107 const FileSystemURL& url, |
107 int64 offset, | 108 int64 offset, |
108 FileSystemContext* context) const OVERRIDE; | 109 FileSystemContext* context) const OVERRIDE; |
109 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 110 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
110 virtual void DeleteFileSystem( | 111 virtual void DeleteFileSystem( |
111 const GURL& origin_url, | 112 const GURL& origin_url, |
112 FileSystemType type, | 113 FileSystemType type, |
113 FileSystemContext* context, | 114 FileSystemContext* context, |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 base::Time next_release_time_for_open_filesystem_stat_; | 210 base::Time next_release_time_for_open_filesystem_stat_; |
210 | 211 |
211 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; | 212 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; |
212 | 213 |
213 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); | 214 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); |
214 }; | 215 }; |
215 | 216 |
216 } // namespace fileapi | 217 } // namespace fileapi |
217 | 218 |
218 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 219 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |