| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; | 86 virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE; |
| 87 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; | 87 virtual FileSystemFileUtil* GetFileUtil() OVERRIDE; |
| 88 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 88 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) |
| 89 const OVERRIDE; | 89 const OVERRIDE; |
| 90 virtual FileSystemOperationInterface* CreateFileSystemOperation( | 90 virtual FileSystemOperationInterface* CreateFileSystemOperation( |
| 91 const GURL& origin_url, | 91 const GURL& origin_url, |
| 92 FileSystemType file_system_type, | 92 FileSystemType file_system_type, |
| 93 const FilePath& virtual_path, | 93 const FilePath& virtual_path, |
| 94 base::MessageLoopProxy* file_proxy, | 94 base::MessageLoopProxy* file_proxy, |
| 95 FileSystemContext* context) const OVERRIDE; | 95 FileSystemContext* context) const OVERRIDE; |
| 96 virtual webkit_blob::FileReader* CreateFileReader( |
| 97 const GURL& url, |
| 98 int64 offset, |
| 99 base::MessageLoopProxy* file_proxy, |
| 100 FileSystemContext* context) const OVERRIDE; |
| 96 | 101 |
| 97 FilePath old_base_path() const; | 102 FilePath old_base_path() const; |
| 98 FilePath new_base_path() const; | 103 FilePath new_base_path() const; |
| 99 FilePath renamed_old_base_path() const; | 104 FilePath renamed_old_base_path() const; |
| 100 | 105 |
| 101 // Returns an origin enumerator of this provider. | 106 // Returns an origin enumerator of this provider. |
| 102 // This method can only be called on the file thread. | 107 // This method can only be called on the file thread. |
| 103 OriginEnumerator* CreateOriginEnumerator() const; | 108 OriginEnumerator* CreateOriginEnumerator() const; |
| 104 | 109 |
| 105 // Gets a base directory path of the sandboxed filesystem that is | 110 // Gets a base directory path of the sandboxed filesystem that is |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 183 |
| 179 // Acccessed only on the file thread. | 184 // Acccessed only on the file thread. |
| 180 std::set<GURL> visited_origins_; | 185 std::set<GURL> visited_origins_; |
| 181 | 186 |
| 182 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); | 187 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); |
| 183 }; | 188 }; |
| 184 | 189 |
| 185 } // namespace fileapi | 190 } // namespace fileapi |
| 186 | 191 |
| 187 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 192 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |