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 16 matching lines...) Expand all Loading... |
27 static SyncFileSystemBackend* CreateForTesting(); | 27 static SyncFileSystemBackend* CreateForTesting(); |
28 | 28 |
29 // FileSystemBackend overrides. | 29 // FileSystemBackend overrides. |
30 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE; | 30 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE; |
31 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE; | 31 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE; |
32 virtual void ResolveURL(const storage::FileSystemURL& url, | 32 virtual void ResolveURL(const storage::FileSystemURL& url, |
33 storage::OpenFileSystemMode mode, | 33 storage::OpenFileSystemMode mode, |
34 const OpenFileSystemCallback& callback) OVERRIDE; | 34 const OpenFileSystemCallback& callback) OVERRIDE; |
35 virtual storage::AsyncFileUtil* GetAsyncFileUtil( | 35 virtual storage::AsyncFileUtil* GetAsyncFileUtil( |
36 storage::FileSystemType type) OVERRIDE; | 36 storage::FileSystemType type) OVERRIDE; |
| 37 virtual storage::WatcherManager* GetWatcherManager( |
| 38 storage::FileSystemType type) OVERRIDE; |
37 virtual storage::CopyOrMoveFileValidatorFactory* | 39 virtual storage::CopyOrMoveFileValidatorFactory* |
38 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type, | 40 GetCopyOrMoveFileValidatorFactory(storage::FileSystemType type, |
39 base::File::Error* error_code) OVERRIDE; | 41 base::File::Error* error_code) OVERRIDE; |
40 virtual storage::FileSystemOperation* CreateFileSystemOperation( | 42 virtual storage::FileSystemOperation* CreateFileSystemOperation( |
41 const storage::FileSystemURL& url, | 43 const storage::FileSystemURL& url, |
42 storage::FileSystemContext* context, | 44 storage::FileSystemContext* context, |
43 base::File::Error* error_code) const OVERRIDE; | 45 base::File::Error* error_code) const OVERRIDE; |
44 virtual bool SupportsStreaming( | 46 virtual bool SupportsStreaming( |
45 const storage::FileSystemURL& url) const OVERRIDE; | 47 const storage::FileSystemURL& url) const OVERRIDE; |
46 virtual bool HasInplaceCopyImplementation( | 48 virtual bool HasInplaceCopyImplementation( |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 storage::OpenFileSystemMode mode, | 109 storage::OpenFileSystemMode mode, |
108 const OpenFileSystemCallback& callback, | 110 const OpenFileSystemCallback& callback, |
109 SyncStatusCode status); | 111 SyncStatusCode status); |
110 | 112 |
111 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); | 113 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); |
112 }; | 114 }; |
113 | 115 |
114 } // namespace sync_file_system | 116 } // namespace sync_file_system |
115 | 117 |
116 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ | 118 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |