| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SYNC_FILE_SYSTEM_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ |
| 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "base/timer.h" | 16 #include "base/timer.h" |
| 17 #include "chrome/browser/profiles/profile_keyed_service.h" | 17 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 18 #include "chrome/browser/sync/profile_sync_service_observer.h" | 18 #include "chrome/browser/sync/profile_sync_service_observer.h" |
| 19 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h" | 19 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h" |
| 20 #include "chrome/browser/sync_file_system/file_status_observer.h" | 20 #include "chrome/browser/sync_file_system/file_status_observer.h" |
| 21 #include "chrome/browser/sync_file_system/local_file_sync_service.h" | 21 #include "chrome/browser/sync_file_system/local_file_sync_service.h" |
| 22 #include "chrome/browser/sync_file_system/remote_file_sync_service.h" | 22 #include "chrome/browser/sync_file_system/remote_file_sync_service.h" |
| 23 #include "chrome/browser/sync_file_system/sync_service_state.h" | 23 #include "chrome/browser/sync_file_system/sync_service_state.h" |
| 24 #include "content/public/browser/notification_observer.h" | 24 #include "content/public/browser/notification_observer.h" |
| 25 #include "content/public/browser/notification_registrar.h" | 25 #include "content/public/browser/notification_registrar.h" |
| 26 #include "googleurl/src/gurl.h" | 26 #include "googleurl/src/gurl.h" |
| 27 #include "webkit/fileapi/syncable/sync_callbacks.h" | 27 #include "webkit/browser/fileapi/syncable/sync_callbacks.h" |
| 28 | 28 |
| 29 class ProfileSyncServiceBase; | 29 class ProfileSyncServiceBase; |
| 30 | 30 |
| 31 namespace fileapi { | 31 namespace fileapi { |
| 32 class FileSystemContext; | 32 class FileSystemContext; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace sync_file_system { | 35 namespace sync_file_system { |
| 36 | 36 |
| 37 class SyncEventObserver; | 37 class SyncEventObserver; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 base::OneShotTimer<SyncFileSystemService> sync_retry_timer_; | 170 base::OneShotTimer<SyncFileSystemService> sync_retry_timer_; |
| 171 | 171 |
| 172 ObserverList<SyncEventObserver> observers_; | 172 ObserverList<SyncEventObserver> observers_; |
| 173 | 173 |
| 174 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); | 174 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); |
| 175 }; | 175 }; |
| 176 | 176 |
| 177 } // namespace sync_file_system | 177 } // namespace sync_file_system |
| 178 | 178 |
| 179 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ | 179 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ |
| OLD | NEW |