| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // to the syncable filesystem. | 177 // to the syncable filesystem. |
| 178 LocalFileSystemOperation* CreateFileSystemOperationForSync( | 178 LocalFileSystemOperation* CreateFileSystemOperationForSync( |
| 179 FileSystemContext* file_system_context); | 179 FileSystemContext* file_system_context); |
| 180 | 180 |
| 181 void set_enable_temporary_file_system_in_incognito(bool enable) { | 181 void set_enable_temporary_file_system_in_incognito(bool enable) { |
| 182 enable_temporary_file_system_in_incognito_ = enable; | 182 enable_temporary_file_system_in_incognito_ = enable; |
| 183 } | 183 } |
| 184 | 184 |
| 185 private: | 185 private: |
| 186 friend class SandboxQuotaObserver; | 186 friend class SandboxQuotaObserver; |
| 187 friend class LocalFileSystemTestOriginHelper; | 187 friend class SandboxFileSystemTestHelper; |
| 188 friend class SandboxMountPointProviderMigrationTest; | 188 friend class SandboxMountPointProviderMigrationTest; |
| 189 friend class SandboxMountPointProviderOriginEnumeratorTest; | 189 friend class SandboxMountPointProviderOriginEnumeratorTest; |
| 190 | 190 |
| 191 // Returns a path to the usage cache file. | 191 // Returns a path to the usage cache file. |
| 192 base::FilePath GetUsageCachePathForOriginAndType( | 192 base::FilePath GetUsageCachePathForOriginAndType( |
| 193 const GURL& origin_url, | 193 const GURL& origin_url, |
| 194 FileSystemType type); | 194 FileSystemType type); |
| 195 | 195 |
| 196 // Returns a path to the usage cache file (static version). | 196 // Returns a path to the usage cache file (static version). |
| 197 static base::FilePath GetUsageCachePathForOriginAndType( | 197 static base::FilePath GetUsageCachePathForOriginAndType( |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; | 256 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
| 257 | 257 |
| 258 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; | 258 base::WeakPtrFactory<SandboxMountPointProvider> weak_factory_; |
| 259 | 259 |
| 260 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); | 260 DISALLOW_COPY_AND_ASSIGN(SandboxMountPointProvider); |
| 261 }; | 261 }; |
| 262 | 262 |
| 263 } // namespace fileapi | 263 } // namespace fileapi |
| 264 | 264 |
| 265 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ | 265 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |