| 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_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ |
| 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/browser/sync_file_system/sync_callbacks.h" | 9 #include "chrome/browser/sync_file_system/sync_callbacks.h" |
| 10 #include "chrome/browser/sync_file_system/sync_status_code.h" | 10 #include "chrome/browser/sync_file_system/sync_status_code.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 const fileapi::FileSystemURL& url, | 43 const fileapi::FileSystemURL& url, |
| 44 fileapi::FileSystemContext* context, | 44 fileapi::FileSystemContext* context, |
| 45 base::File::Error* error_code) const OVERRIDE; | 45 base::File::Error* error_code) const OVERRIDE; |
| 46 virtual bool SupportsStreaming( | 46 virtual bool SupportsStreaming( |
| 47 const fileapi::FileSystemURL& url) const OVERRIDE; | 47 const fileapi::FileSystemURL& url) const OVERRIDE; |
| 48 virtual bool HasInplaceCopyImplementation( | 48 virtual bool HasInplaceCopyImplementation( |
| 49 fileapi::FileSystemType type) const OVERRIDE; | 49 fileapi::FileSystemType type) const OVERRIDE; |
| 50 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 50 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
| 51 const fileapi::FileSystemURL& url, | 51 const fileapi::FileSystemURL& url, |
| 52 int64 offset, | 52 int64 offset, |
| 53 int64 length, |
| 53 const base::Time& expected_modification_time, | 54 const base::Time& expected_modification_time, |
| 54 fileapi::FileSystemContext* context) const OVERRIDE; | 55 fileapi::FileSystemContext* context) const OVERRIDE; |
| 55 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( | 56 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( |
| 56 const fileapi::FileSystemURL& url, | 57 const fileapi::FileSystemURL& url, |
| 57 int64 offset, | 58 int64 offset, |
| 58 fileapi::FileSystemContext* context) const OVERRIDE; | 59 fileapi::FileSystemContext* context) const OVERRIDE; |
| 59 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 60 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
| 60 | 61 |
| 61 static SyncFileSystemBackend* GetBackend( | 62 static SyncFileSystemBackend* GetBackend( |
| 62 const fileapi::FileSystemContext* context); | 63 const fileapi::FileSystemContext* context); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 fileapi::OpenFileSystemMode mode, | 110 fileapi::OpenFileSystemMode mode, |
| 110 const OpenFileSystemCallback& callback, | 111 const OpenFileSystemCallback& callback, |
| 111 SyncStatusCode status); | 112 SyncStatusCode status); |
| 112 | 113 |
| 113 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); | 114 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); |
| 114 }; | 115 }; |
| 115 | 116 |
| 116 } // namespace sync_file_system | 117 } // namespace sync_file_system |
| 117 | 118 |
| 118 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ | 119 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ |
| OLD | NEW |