| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ |
| 6 #define STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ | 6 #define STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 namespace storage { | 46 namespace storage { |
| 47 | 47 |
| 48 class AsyncFileUtil; | 48 class AsyncFileUtil; |
| 49 class FileStreamWriter; | 49 class FileStreamWriter; |
| 50 class FileSystemFileUtil; | 50 class FileSystemFileUtil; |
| 51 class FileSystemOperationContext; | 51 class FileSystemOperationContext; |
| 52 class FileSystemURL; | 52 class FileSystemURL; |
| 53 class FileSystemUsageCache; | 53 class FileSystemUsageCache; |
| 54 class ObfuscatedFileUtil; | 54 class ObfuscatedFileUtil; |
| 55 class QuotaReservationManager; | 55 class QuotaReservationManager; |
| 56 class SandboxFileSystemBackend; | |
| 57 class SandboxQuotaObserver; | 56 class SandboxQuotaObserver; |
| 58 | 57 |
| 59 // Delegate implementation of the some methods in Sandbox/SyncFileSystemBackend. | 58 // Delegate implementation of the some methods in Sandbox/SyncFileSystemBackend. |
| 60 // An instance of this class is created and owned by FileSystemContext. | 59 // An instance of this class is created and owned by FileSystemContext. |
| 61 class STORAGE_EXPORT SandboxFileSystemBackendDelegate | 60 class STORAGE_EXPORT SandboxFileSystemBackendDelegate |
| 62 : public FileSystemQuotaUtil { | 61 : public FileSystemQuotaUtil { |
| 63 public: | 62 public: |
| 64 typedef FileSystemBackend::OpenFileSystemCallback OpenFileSystemCallback; | 63 typedef FileSystemBackend::OpenFileSystemCallback OpenFileSystemCallback; |
| 65 | 64 |
| 66 // The FileSystem directory name. | 65 // The FileSystem directory name. |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 base::Time next_release_time_for_open_filesystem_stat_; | 257 base::Time next_release_time_for_open_filesystem_stat_; |
| 259 | 258 |
| 260 base::WeakPtrFactory<SandboxFileSystemBackendDelegate> weak_factory_; | 259 base::WeakPtrFactory<SandboxFileSystemBackendDelegate> weak_factory_; |
| 261 | 260 |
| 262 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackendDelegate); | 261 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackendDelegate); |
| 263 }; | 262 }; |
| 264 | 263 |
| 265 } // namespace storage | 264 } // namespace storage |
| 266 | 265 |
| 267 #endif // STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ | 266 #endif // STORAGE_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ |
| OLD | NEW |