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_INTERNAL_API_SYNC_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 6 #define CHROME_BROWSER_SYNC_INTERNAL_API_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/time.h" | 17 #include "base/time.h" |
17 #include "base/threading/thread_checker.h" | |
18 #include "chrome/browser/sync/internal_api/includes/report_unrecoverable_error_f
unction.h" | |
19 #include "chrome/browser/sync/internal_api/includes/unrecoverable_error_handler.
h" | |
20 #include "chrome/browser/sync/internal_api/change_record.h" | 18 #include "chrome/browser/sync/internal_api/change_record.h" |
21 #include "chrome/browser/sync/internal_api/configure_reason.h" | 19 #include "chrome/browser/sync/internal_api/configure_reason.h" |
22 #include "chrome/browser/sync/protocol/sync_protocol_error.h" | 20 #include "sync/protocol/sync_protocol_error.h" |
23 #include "chrome/browser/sync/syncable/model_type.h" | 21 #include "sync/syncable/model_type.h" |
24 #include "chrome/browser/sync/util/weak_handle.h" | 22 #include "sync/util/report_unrecoverable_error_function.h" |
| 23 #include "sync/util/unrecoverable_error_handler.h" |
| 24 #include "sync/util/weak_handle.h" |
25 | 25 |
26 namespace browser_sync { | 26 namespace browser_sync { |
27 class Encryptor; | 27 class Encryptor; |
28 class ExtensionsActivityMonitor; | 28 class ExtensionsActivityMonitor; |
29 class JsBackend; | 29 class JsBackend; |
30 class JsEventHandler; | 30 class JsEventHandler; |
31 class ModelSafeWorkerRegistrar; | 31 class ModelSafeWorkerRegistrar; |
32 | 32 |
33 namespace sessions { | 33 namespace sessions { |
34 struct SyncSessionSnapshot; | 34 struct SyncSessionSnapshot; |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 sync_api::UserShare* share); | 667 sync_api::UserShare* share); |
668 | 668 |
669 const char* ConnectionStatusToString(ConnectionStatus status); | 669 const char* ConnectionStatusToString(ConnectionStatus status); |
670 | 670 |
671 // Returns the string representation of a PassphraseRequiredReason value. | 671 // Returns the string representation of a PassphraseRequiredReason value. |
672 const char* PassphraseRequiredReasonToString(PassphraseRequiredReason reason); | 672 const char* PassphraseRequiredReasonToString(PassphraseRequiredReason reason); |
673 | 673 |
674 } // namespace sync_api | 674 } // namespace sync_api |
675 | 675 |
676 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 676 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |