| 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 SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ |
| 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 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/file_path.h" | 13 #include "base/file_path.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/task_runner.h" | 15 #include "base/task_runner.h" |
| 16 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
| 17 #include "base/time.h" | 17 #include "base/time.h" |
| 18 #include "sync/internal_api/change_record.h" | 18 #include "sync/internal_api/public/change_record.h" |
| 19 #include "sync/internal_api/configure_reason.h" | 19 #include "sync/internal_api/public/configure_reason.h" |
| 20 #include "sync/internal_api/public/engine/model_safe_worker.h" | 20 #include "sync/internal_api/public/engine/model_safe_worker.h" |
| 21 #include "sync/internal_api/public/engine/sync_status.h" | 21 #include "sync/internal_api/public/engine/sync_status.h" |
| 22 #include "sync/internal_api/public/syncable/model_type.h" | 22 #include "sync/internal_api/public/syncable/model_type.h" |
| 23 #include "sync/internal_api/public/util/report_unrecoverable_error_function.h" |
| 24 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
| 25 #include "sync/internal_api/public/util/weak_handle.h" |
| 23 #include "sync/protocol/sync_protocol_error.h" | 26 #include "sync/protocol/sync_protocol_error.h" |
| 24 #include "sync/util/report_unrecoverable_error_function.h" | |
| 25 #include "sync/util/unrecoverable_error_handler.h" | |
| 26 #include "sync/util/weak_handle.h" | |
| 27 | 27 |
| 28 namespace browser_sync { | 28 namespace browser_sync { |
| 29 struct ConfigurationParams; | 29 struct ConfigurationParams; |
| 30 class Encryptor; | 30 class Encryptor; |
| 31 struct Experiments; | 31 struct Experiments; |
| 32 class ExtensionsActivityMonitor; | 32 class ExtensionsActivityMonitor; |
| 33 class JsBackend; | 33 class JsBackend; |
| 34 class JsEventHandler; | 34 class JsEventHandler; |
| 35 class SyncScheduler; | 35 class SyncScheduler; |
| 36 | 36 |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 syncable::ModelTypeSet types, | 570 syncable::ModelTypeSet types, |
| 571 sync_api::UserShare* share); | 571 sync_api::UserShare* share); |
| 572 | 572 |
| 573 const char* ConnectionStatusToString(ConnectionStatus status); | 573 const char* ConnectionStatusToString(ConnectionStatus status); |
| 574 | 574 |
| 575 // Returns the string representation of a PassphraseRequiredReason value. | 575 // Returns the string representation of a PassphraseRequiredReason value. |
| 576 const char* PassphraseRequiredReasonToString(PassphraseRequiredReason reason); | 576 const char* PassphraseRequiredReasonToString(PassphraseRequiredReason reason); |
| 577 | 577 |
| 578 } // namespace sync_api | 578 } // namespace sync_api |
| 579 | 579 |
| 580 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 580 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ |
| OLD | NEW |