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 "webkit/browser/fileapi/file_system_backend.h" | 8 #include "webkit/browser/fileapi/file_system_backend.h" |
9 #include "webkit/browser/fileapi/file_system_quota_util.h" | 9 #include "webkit/browser/fileapi/file_system_quota_util.h" |
10 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h" | 10 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 virtual ~SyncFileSystemBackend(); | 21 virtual ~SyncFileSystemBackend(); |
22 | 22 |
23 // FileSystemBackend overrides. | 23 // FileSystemBackend overrides. |
24 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; | 24 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; |
25 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE; | 25 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE; |
26 virtual void OpenFileSystem( | 26 virtual void OpenFileSystem( |
27 const GURL& origin_url, | 27 const GURL& origin_url, |
28 fileapi::FileSystemType type, | 28 fileapi::FileSystemType type, |
29 fileapi::OpenFileSystemMode mode, | 29 fileapi::OpenFileSystemMode mode, |
30 const OpenFileSystemCallback& callback) OVERRIDE; | 30 const OpenFileSystemCallback& callback) OVERRIDE; |
31 virtual fileapi::FileSystemFileUtil* GetFileUtil( | |
32 fileapi::FileSystemType type) OVERRIDE; | |
33 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( | 31 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( |
34 fileapi::FileSystemType type) OVERRIDE; | 32 fileapi::FileSystemType type) OVERRIDE; |
35 virtual fileapi::CopyOrMoveFileValidatorFactory* | 33 virtual fileapi::CopyOrMoveFileValidatorFactory* |
36 GetCopyOrMoveFileValidatorFactory( | 34 GetCopyOrMoveFileValidatorFactory( |
37 fileapi::FileSystemType type, | 35 fileapi::FileSystemType type, |
38 base::PlatformFileError* error_code) OVERRIDE; | 36 base::PlatformFileError* error_code) OVERRIDE; |
39 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( | 37 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( |
40 const fileapi::FileSystemURL& url, | 38 const fileapi::FileSystemURL& url, |
41 fileapi::FileSystemContext* context, | 39 fileapi::FileSystemContext* context, |
42 base::PlatformFileError* error_code) const OVERRIDE; | 40 base::PlatformFileError* error_code) const OVERRIDE; |
(...skipping 28 matching lines...) Expand all Loading... |
71 | 69 |
72 scoped_ptr<sync_file_system::LocalFileChangeTracker> change_tracker_; | 70 scoped_ptr<sync_file_system::LocalFileChangeTracker> change_tracker_; |
73 scoped_refptr<sync_file_system::LocalFileSyncContext> sync_context_; | 71 scoped_refptr<sync_file_system::LocalFileSyncContext> sync_context_; |
74 | 72 |
75 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); | 73 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); |
76 }; | 74 }; |
77 | 75 |
78 } // namespace sync_file_system | 76 } // namespace sync_file_system |
79 | 77 |
80 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ | 78 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |