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 CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 const storage::FileSystemURL& url, | 100 const storage::FileSystemURL& url, |
101 storage::FileSystemContext* context, | 101 storage::FileSystemContext* context, |
102 base::File::Error* error_code) const OVERRIDE; | 102 base::File::Error* error_code) const OVERRIDE; |
103 virtual bool SupportsStreaming( | 103 virtual bool SupportsStreaming( |
104 const storage::FileSystemURL& url) const OVERRIDE; | 104 const storage::FileSystemURL& url) const OVERRIDE; |
105 virtual bool HasInplaceCopyImplementation( | 105 virtual bool HasInplaceCopyImplementation( |
106 storage::FileSystemType type) const OVERRIDE; | 106 storage::FileSystemType type) const OVERRIDE; |
107 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( | 107 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( |
108 const storage::FileSystemURL& path, | 108 const storage::FileSystemURL& path, |
109 int64 offset, | 109 int64 offset, |
| 110 int64 length, |
110 const base::Time& expected_modification_time, | 111 const base::Time& expected_modification_time, |
111 storage::FileSystemContext* context) const OVERRIDE; | 112 storage::FileSystemContext* context) const OVERRIDE; |
112 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter( | 113 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter( |
113 const storage::FileSystemURL& url, | 114 const storage::FileSystemURL& url, |
114 int64 offset, | 115 int64 offset, |
115 storage::FileSystemContext* context) const OVERRIDE; | 116 storage::FileSystemContext* context) const OVERRIDE; |
116 virtual storage::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 117 virtual storage::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
117 | 118 |
118 // storage::ExternalFileSystemBackend overrides. | 119 // storage::ExternalFileSystemBackend overrides. |
119 virtual bool IsAccessAllowed( | 120 virtual bool IsAccessAllowed( |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // Globally visible mount points. System MountPonts instance should outlive | 160 // Globally visible mount points. System MountPonts instance should outlive |
160 // all FileSystemBackend instances, so raw pointer is safe. | 161 // all FileSystemBackend instances, so raw pointer is safe. |
161 storage::ExternalMountPoints* system_mount_points_; | 162 storage::ExternalMountPoints* system_mount_points_; |
162 | 163 |
163 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); | 164 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); |
164 }; | 165 }; |
165 | 166 |
166 } // namespace chromeos | 167 } // namespace chromeos |
167 | 168 |
168 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 169 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |