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_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 virtual FileSystemOperation* CreateFileSystemOperation( | 44 virtual FileSystemOperation* CreateFileSystemOperation( |
45 const FileSystemURL& url, | 45 const FileSystemURL& url, |
46 FileSystemContext* context, | 46 FileSystemContext* context, |
47 base::File::Error* error_code) const OVERRIDE; | 47 base::File::Error* error_code) const OVERRIDE; |
48 virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE; | 48 virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE; |
49 virtual bool HasInplaceCopyImplementation( | 49 virtual bool HasInplaceCopyImplementation( |
50 storage::FileSystemType type) const OVERRIDE; | 50 storage::FileSystemType type) const OVERRIDE; |
51 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( | 51 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( |
52 const FileSystemURL& url, | 52 const FileSystemURL& url, |
53 int64 offset, | 53 int64 offset, |
| 54 int64 length, |
54 const base::Time& expected_modification_time, | 55 const base::Time& expected_modification_time, |
55 FileSystemContext* context) const OVERRIDE; | 56 FileSystemContext* context) const OVERRIDE; |
56 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter( | 57 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter( |
57 const FileSystemURL& url, | 58 const FileSystemURL& url, |
58 int64 offset, | 59 int64 offset, |
59 FileSystemContext* context) const OVERRIDE; | 60 FileSystemContext* context) const OVERRIDE; |
60 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 61 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
61 | 62 |
62 // Returns an origin enumerator of this backend. | 63 // Returns an origin enumerator of this backend. |
63 // This method can only be called on the file thread. | 64 // This method can only be called on the file thread. |
(...skipping 11 matching lines...) Expand all Loading... |
75 SandboxFileSystemBackendDelegate* delegate_; // Not owned. | 76 SandboxFileSystemBackendDelegate* delegate_; // Not owned. |
76 | 77 |
77 bool enable_temporary_file_system_in_incognito_; | 78 bool enable_temporary_file_system_in_incognito_; |
78 | 79 |
79 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend); | 80 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace storage | 83 } // namespace storage |
83 | 84 |
84 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ | 85 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |