| 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 <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h" | 17 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h" |
| 18 #include "chrome/browser/sync_file_system/file_status_observer.h" | 18 #include "chrome/browser/sync_file_system/file_status_observer.h" |
| 19 #include "chrome/browser/sync_file_system/remote_file_sync_service.h" | 19 #include "chrome/browser/sync_file_system/remote_file_sync_service.h" |
| 20 #include "chrome/browser/sync_file_system/sync_callbacks.h" | 20 #include "chrome/browser/sync_file_system/sync_callbacks.h" |
| 21 #include "chrome/browser/sync_file_system/sync_process_runner.h" | 21 #include "chrome/browser/sync_file_system/sync_process_runner.h" |
| 22 #include "chrome/browser/sync_file_system/sync_service_state.h" | 22 #include "chrome/browser/sync_file_system/sync_service_state.h" |
| 23 #include "chrome/browser/sync_file_system/task_logger.h" | 23 #include "chrome/browser/sync_file_system/task_logger.h" |
| 24 #include "components/keyed_service/core/keyed_service.h" | 24 #include "components/keyed_service/core/keyed_service.h" |
| 25 #include "components/sync_driver/sync_service_observer.h" | 25 #include "components/sync/driver/sync_service_observer.h" |
| 26 #include "extensions/browser/extension_registry_observer.h" | 26 #include "extensions/browser/extension_registry_observer.h" |
| 27 #include "url/gurl.h" | 27 #include "url/gurl.h" |
| 28 | 28 |
| 29 class Profile; | 29 class Profile; |
| 30 | 30 |
| 31 namespace storage { | 31 namespace storage { |
| 32 class FileSystemContext; | 32 class FileSystemContext; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace sync_driver { | 35 namespace sync_driver { |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 bool promoting_demoted_changes_; | 184 bool promoting_demoted_changes_; |
| 185 base::Closure idle_callback_; | 185 base::Closure idle_callback_; |
| 186 | 186 |
| 187 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); | 187 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 } // namespace sync_file_system | 190 } // namespace sync_file_system |
| 191 | 191 |
| 192 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ | 192 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ |
| OLD | NEW |