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" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
13 #include "webkit/browser/fileapi/file_system_backend.h" | 13 #include "storage/browser/fileapi/file_system_backend.h" |
14 #include "webkit/browser/fileapi/file_system_quota_util.h" | 14 #include "storage/browser/fileapi/file_system_quota_util.h" |
15 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h" | 15 #include "storage/browser/fileapi/sandbox_file_system_backend_delegate.h" |
16 | 16 |
17 namespace sync_file_system { | 17 namespace sync_file_system { |
18 | 18 |
19 class LocalFileChangeTracker; | 19 class LocalFileChangeTracker; |
20 class LocalFileSyncContext; | 20 class LocalFileSyncContext; |
21 | 21 |
22 class SyncFileSystemBackend : public storage::FileSystemBackend { | 22 class SyncFileSystemBackend : public storage::FileSystemBackend { |
23 public: | 23 public: |
24 explicit SyncFileSystemBackend(Profile* profile); | 24 explicit SyncFileSystemBackend(Profile* profile); |
25 virtual ~SyncFileSystemBackend(); | 25 virtual ~SyncFileSystemBackend(); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 storage::OpenFileSystemMode mode, | 109 storage::OpenFileSystemMode mode, |
110 const OpenFileSystemCallback& callback, | 110 const OpenFileSystemCallback& callback, |
111 SyncStatusCode status); | 111 SyncStatusCode status); |
112 | 112 |
113 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); | 113 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); |
114 }; | 114 }; |
115 | 115 |
116 } // namespace sync_file_system | 116 } // namespace sync_file_system |
117 | 117 |
118 #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 |