| 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_DRIVE_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_FILE_SYSTEM_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 15 matching lines...) Expand all Loading... |
| 26 public: | 26 public: |
| 27 FileSystemBackendDelegate(); | 27 FileSystemBackendDelegate(); |
| 28 virtual ~FileSystemBackendDelegate(); | 28 virtual ~FileSystemBackendDelegate(); |
| 29 | 29 |
| 30 // FileSystemBackend::Delegate overrides. | 30 // FileSystemBackend::Delegate overrides. |
| 31 virtual storage::AsyncFileUtil* GetAsyncFileUtil( | 31 virtual storage::AsyncFileUtil* GetAsyncFileUtil( |
| 32 storage::FileSystemType type) OVERRIDE; | 32 storage::FileSystemType type) OVERRIDE; |
| 33 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( | 33 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( |
| 34 const storage::FileSystemURL& url, | 34 const storage::FileSystemURL& url, |
| 35 int64 offset, | 35 int64 offset, |
| 36 int64 max_bytes_to_read, |
| 36 const base::Time& expected_modification_time, | 37 const base::Time& expected_modification_time, |
| 37 storage::FileSystemContext* context) OVERRIDE; | 38 storage::FileSystemContext* context) OVERRIDE; |
| 38 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter( | 39 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter( |
| 39 const storage::FileSystemURL& url, | 40 const storage::FileSystemURL& url, |
| 40 int64 offset, | 41 int64 offset, |
| 41 storage::FileSystemContext* context) OVERRIDE; | 42 storage::FileSystemContext* context) OVERRIDE; |
| 42 virtual storage::WatcherManager* GetWatcherManager( | 43 virtual storage::WatcherManager* GetWatcherManager( |
| 43 const storage::FileSystemURL& url) OVERRIDE; | 44 const storage::FileSystemURL& url) OVERRIDE; |
| 44 virtual void GetRedirectURLForContents( | 45 virtual void GetRedirectURLForContents( |
| 45 const storage::FileSystemURL& url, | 46 const storage::FileSystemURL& url, |
| 46 const storage::URLCallback& callback) OVERRIDE; | 47 const storage::URLCallback& callback) OVERRIDE; |
| 47 | 48 |
| 48 private: | 49 private: |
| 49 scoped_ptr<storage::AsyncFileUtil> async_file_util_; | 50 scoped_ptr<storage::AsyncFileUtil> async_file_util_; |
| 50 | 51 |
| 51 DISALLOW_COPY_AND_ASSIGN(FileSystemBackendDelegate); | 52 DISALLOW_COPY_AND_ASSIGN(FileSystemBackendDelegate); |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace drive | 55 } // namespace drive |
| 55 | 56 |
| 56 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ | 57 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ |
| OLD | NEW |