| 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_ISOLATED_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_ |
| 6 #define WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "webkit/browser/fileapi/file_system_backend.h" | 9 #include "webkit/browser/fileapi/file_system_backend.h" |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 virtual FileSystemOperation* CreateFileSystemOperation( | 30 virtual FileSystemOperation* CreateFileSystemOperation( |
| 31 const FileSystemURL& url, | 31 const FileSystemURL& url, |
| 32 FileSystemContext* context, | 32 FileSystemContext* context, |
| 33 base::File::Error* error_code) const OVERRIDE; | 33 base::File::Error* error_code) const OVERRIDE; |
| 34 virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE; | 34 virtual bool SupportsStreaming(const FileSystemURL& url) const OVERRIDE; |
| 35 virtual bool HasInplaceCopyImplementation( | 35 virtual bool HasInplaceCopyImplementation( |
| 36 storage::FileSystemType type) const OVERRIDE; | 36 storage::FileSystemType type) const OVERRIDE; |
| 37 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( | 37 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( |
| 38 const FileSystemURL& url, | 38 const FileSystemURL& url, |
| 39 int64 offset, | 39 int64 offset, |
| 40 int64 length, |
| 40 const base::Time& expected_modification_time, | 41 const base::Time& expected_modification_time, |
| 41 FileSystemContext* context) const OVERRIDE; | 42 FileSystemContext* context) const OVERRIDE; |
| 42 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter( | 43 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter( |
| 43 const FileSystemURL& url, | 44 const FileSystemURL& url, |
| 44 int64 offset, | 45 int64 offset, |
| 45 FileSystemContext* context) const OVERRIDE; | 46 FileSystemContext* context) const OVERRIDE; |
| 46 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 47 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
| 47 | 48 |
| 48 private: | 49 private: |
| 49 scoped_ptr<AsyncFileUtilAdapter> isolated_file_util_; | 50 scoped_ptr<AsyncFileUtilAdapter> isolated_file_util_; |
| 50 scoped_ptr<AsyncFileUtilAdapter> dragged_file_util_; | 51 scoped_ptr<AsyncFileUtilAdapter> dragged_file_util_; |
| 51 scoped_ptr<AsyncFileUtilAdapter> transient_file_util_; | 52 scoped_ptr<AsyncFileUtilAdapter> transient_file_util_; |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace storage | 55 } // namespace storage |
| 55 | 56 |
| 56 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_ | 57 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_SYSTEM_BACKEND_H_ |
| OLD | NEW |