OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/chromeos/fileapi/file_system_backend_delegate.h" | 10 #include "chrome/browser/chromeos/fileapi/file_system_backend_delegate.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 public: | 22 public: |
23 BackendDelegate(); | 23 BackendDelegate(); |
24 virtual ~BackendDelegate(); | 24 virtual ~BackendDelegate(); |
25 | 25 |
26 // FileSystemBackend::Delegate overrides. | 26 // FileSystemBackend::Delegate overrides. |
27 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(fileapi::FileSystemType type) | 27 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(fileapi::FileSystemType type) |
28 OVERRIDE; | 28 OVERRIDE; |
29 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 29 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
30 const fileapi::FileSystemURL& url, | 30 const fileapi::FileSystemURL& url, |
31 int64 offset, | 31 int64 offset, |
| 32 int64 length, |
32 const base::Time& expected_modification_time, | 33 const base::Time& expected_modification_time, |
33 fileapi::FileSystemContext* context) OVERRIDE; | 34 fileapi::FileSystemContext* context) OVERRIDE; |
34 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( | 35 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( |
35 const fileapi::FileSystemURL& url, | 36 const fileapi::FileSystemURL& url, |
36 int64 offset, | 37 int64 offset, |
37 fileapi::FileSystemContext* context) OVERRIDE; | 38 fileapi::FileSystemContext* context) OVERRIDE; |
38 | 39 |
39 private: | 40 private: |
40 scoped_ptr<fileapi::AsyncFileUtil> async_file_util_; | 41 scoped_ptr<fileapi::AsyncFileUtil> async_file_util_; |
41 | 42 |
42 DISALLOW_COPY_AND_ASSIGN(BackendDelegate); | 43 DISALLOW_COPY_AND_ASSIGN(BackendDelegate); |
43 }; | 44 }; |
44 | 45 |
45 } // namespace file_system_provider | 46 } // namespace file_system_provider |
46 } // namespace chromeos | 47 } // namespace chromeos |
47 | 48 |
48 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE
_H_ | 49 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_BACKEND_DELEGATE
_H_ |
OLD | NEW |