| 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 const GURL& origin_url, | 82 const GURL& origin_url, |
| 83 FileSystemType type, | 83 FileSystemType type, |
| 84 const FilePath& virtual_path) OVERRIDE; | 84 const FilePath& virtual_path) OVERRIDE; |
| 85 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 85 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
| 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 FileSystemOperationInterface* CreateFileSystemOperation( | 88 virtual FileSystemOperationInterface* CreateFileSystemOperation( |
| 89 const GURL& origin_url, | 89 const GURL& origin_url, |
| 90 FileSystemType file_system_type, | 90 FileSystemType file_system_type, |
| 91 const FilePath& virtual_path, | 91 const FilePath& virtual_path, |
| 92 scoped_ptr<FileSystemCallbackDispatcher> dispatcher, | |
| 93 base::MessageLoopProxy* file_proxy, | 92 base::MessageLoopProxy* file_proxy, |
| 94 FileSystemContext* context) const OVERRIDE; | 93 FileSystemContext* context) const OVERRIDE; |
| 95 | 94 |
| 96 FilePath old_base_path() const; | 95 FilePath old_base_path() const; |
| 97 FilePath new_base_path() const; | 96 FilePath new_base_path() const; |
| 98 FilePath renamed_old_base_path() const; | 97 FilePath renamed_old_base_path() const; |
| 99 | 98 |
| 100 // Returns an origin enumerator of this provider. | 99 // Returns an origin enumerator of this provider. |
| 101 // This method can only be called on the file thread. | 100 // This method can only be called on the file thread. |
| 102 OriginEnumerator* CreateOriginEnumerator() const; | 101 OriginEnumerator* CreateOriginEnumerator() const; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 176 |
| 178 // Acccessed only on the file thread. | 177 // Acccessed only on the file thread. |
| 179 std::set<GURL> visited_origins_; | 178 std::set<GURL> visited_origins_; |
| 180 | 179 |
| 181 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); | 180 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); |
| 182 }; | 181 }; |
| 183 | 182 |
| 184 } // namespace fileapi | 183 } // namespace fileapi |
| 185 | 184 |
| 186 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 185 #endif // WEBKIT_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |