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 WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 virtual FileSystemOperation* CreateFileSystemOperation( | 71 virtual FileSystemOperation* CreateFileSystemOperation( |
72 const FileSystemURL& url, | 72 const FileSystemURL& url, |
73 FileSystemContext* context, | 73 FileSystemContext* context, |
74 base::File::Error* error_code) const OVERRIDE; | 74 base::File::Error* error_code) const OVERRIDE; |
75 virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE; | 75 virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE; |
76 virtual bool HasInplaceCopyImplementation( | 76 virtual bool HasInplaceCopyImplementation( |
77 fileapi::FileSystemType type) const OVERRIDE; | 77 fileapi::FileSystemType type) const OVERRIDE; |
78 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 78 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
79 const FileSystemURL& url, | 79 const FileSystemURL& url, |
80 int64 offset, | 80 int64 offset, |
| 81 int64 length, |
81 const base::Time& expected_modification_time, | 82 const base::Time& expected_modification_time, |
82 FileSystemContext* context) const OVERRIDE; | 83 FileSystemContext* context) const OVERRIDE; |
83 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter( | 84 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter( |
84 const FileSystemURL& url, | 85 const FileSystemURL& url, |
85 int64 offset, | 86 int64 offset, |
86 FileSystemContext* context) const OVERRIDE; | 87 FileSystemContext* context) const OVERRIDE; |
87 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 88 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
88 | 89 |
89 // FileSystemQuotaUtil overrides. | 90 // FileSystemQuotaUtil overrides. |
90 virtual base::File::Error DeleteOriginDataOnFileTaskRunner( | 91 virtual base::File::Error DeleteOriginDataOnFileTaskRunner( |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 scoped_ptr<AsyncFileUtil> file_util_; | 139 scoped_ptr<AsyncFileUtil> file_util_; |
139 FileSystemIDToPluginMap* plugin_map_; // Owned by file_util_. | 140 FileSystemIDToPluginMap* plugin_map_; // Owned by file_util_. |
140 base::WeakPtrFactory<PluginPrivateFileSystemBackend> weak_factory_; | 141 base::WeakPtrFactory<PluginPrivateFileSystemBackend> weak_factory_; |
141 | 142 |
142 DISALLOW_COPY_AND_ASSIGN(PluginPrivateFileSystemBackend); | 143 DISALLOW_COPY_AND_ASSIGN(PluginPrivateFileSystemBackend); |
143 }; | 144 }; |
144 | 145 |
145 } // namespace fileapi | 146 } // namespace fileapi |
146 | 147 |
147 #endif // WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ | 148 #endif // WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |