| 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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
| 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <limits> | 10 #include <limits> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 class GURL; | 24 class GURL; |
| 25 | 25 |
| 26 namespace storage { | 26 namespace storage { |
| 27 | 27 |
| 28 class AsyncFileUtil; | 28 class AsyncFileUtil; |
| 29 class CopyOrMoveFileValidatorFactory; | 29 class CopyOrMoveFileValidatorFactory; |
| 30 class FileSystemURL; | 30 class FileSystemURL; |
| 31 class FileStreamReader; | 31 class FileStreamReader; |
| 32 class FileStreamWriter; | 32 class FileStreamWriter; |
| 33 class FileSystemContext; | 33 class FileSystemContext; |
| 34 class FileSystemFileUtil; | |
| 35 class FileSystemOperation; | 34 class FileSystemOperation; |
| 36 class FileSystemQuotaUtil; | 35 class FileSystemQuotaUtil; |
| 37 class WatcherManager; | 36 class WatcherManager; |
| 38 | 37 |
| 39 // Callback to take GURL. | 38 // Callback to take GURL. |
| 40 typedef base::Callback<void(const GURL& url)> URLCallback; | 39 typedef base::Callback<void(const GURL& url)> URLCallback; |
| 41 | 40 |
| 42 // Maximum numer of bytes to be read by FileStreamReader classes. Used in | 41 // Maximum numer of bytes to be read by FileStreamReader classes. Used in |
| 43 // FileSystemBackend::CreateFileStreamReader(), when it's not known how many | 42 // FileSystemBackend::CreateFileStreamReader(), when it's not known how many |
| 44 // bytes will be fetched in total. | 43 // bytes will be fetched in total. |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 // as confirming if a file or a directory exist before granting the final | 186 // as confirming if a file or a directory exist before granting the final |
| 188 // permission to the entry. The path must be an absolute path. | 187 // permission to the entry. The path must be an absolute path. |
| 189 virtual storage::FileSystemURL CreateInternalURL( | 188 virtual storage::FileSystemURL CreateInternalURL( |
| 190 storage::FileSystemContext* context, | 189 storage::FileSystemContext* context, |
| 191 const base::FilePath& entry_path) const = 0; | 190 const base::FilePath& entry_path) const = 0; |
| 192 }; | 191 }; |
| 193 | 192 |
| 194 } // namespace storage | 193 } // namespace storage |
| 195 | 194 |
| 196 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 195 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
| OLD | NEW |