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 17 matching lines...) Expand all Loading... |
28 static SyncFileSystemBackend* CreateForTesting(); | 28 static SyncFileSystemBackend* CreateForTesting(); |
29 | 29 |
30 // FileSystemBackend overrides. | 30 // FileSystemBackend overrides. |
31 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; | 31 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; |
32 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE; | 32 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE; |
33 virtual void ResolveURL(const fileapi::FileSystemURL& url, | 33 virtual void ResolveURL(const fileapi::FileSystemURL& url, |
34 fileapi::OpenFileSystemMode mode, | 34 fileapi::OpenFileSystemMode mode, |
35 const OpenFileSystemCallback& callback) OVERRIDE; | 35 const OpenFileSystemCallback& callback) OVERRIDE; |
36 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( | 36 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( |
37 fileapi::FileSystemType type) OVERRIDE; | 37 fileapi::FileSystemType type) OVERRIDE; |
| 38 virtual fileapi::WatcherManager* GetWatcherManager( |
| 39 fileapi::FileSystemType type) OVERRIDE; |
38 virtual fileapi::CopyOrMoveFileValidatorFactory* | 40 virtual fileapi::CopyOrMoveFileValidatorFactory* |
39 GetCopyOrMoveFileValidatorFactory( | 41 GetCopyOrMoveFileValidatorFactory( |
40 fileapi::FileSystemType type, | 42 fileapi::FileSystemType type, |
41 base::File::Error* error_code) OVERRIDE; | 43 base::File::Error* error_code) OVERRIDE; |
42 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( | 44 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( |
43 const fileapi::FileSystemURL& url, | 45 const fileapi::FileSystemURL& url, |
44 fileapi::FileSystemContext* context, | 46 fileapi::FileSystemContext* context, |
45 base::File::Error* error_code) const OVERRIDE; | 47 base::File::Error* error_code) const OVERRIDE; |
46 virtual bool SupportsStreaming( | 48 virtual bool SupportsStreaming( |
47 const fileapi::FileSystemURL& url) const OVERRIDE; | 49 const fileapi::FileSystemURL& url) const OVERRIDE; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 fileapi::OpenFileSystemMode mode, | 109 fileapi::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 |