OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.h" | 12 #include "base/callback.h" |
13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
14 #include "chrome/browser/sync/internal_api/change_record.h" | 14 #include "chrome/browser/sync/internal_api/change_record.h" |
15 #include "chrome/browser/sync/internal_api/configure_reason.h" | 15 #include "chrome/browser/sync/internal_api/configure_reason.h" |
16 #include "chrome/browser/sync/protocol/sync_protocol_error.h" | 16 #include "chrome/browser/sync/protocol/sync_protocol_error.h" |
17 #include "chrome/browser/sync/syncable/model_type.h" | 17 #include "chrome/browser/sync/syncable/model_type.h" |
18 #include "chrome/browser/sync/util/weak_handle.h" | 18 #include "chrome/browser/sync/util/weak_handle.h" |
19 #include "chrome/common/net/gaia/google_service_auth_error.h" | 19 #include "chrome/common/net/gaia/google_service_auth_error.h" |
20 | 20 |
21 class FilePath; | 21 class FilePath; |
22 | 22 |
23 namespace base { | |
24 class DictionaryValue; | |
25 } // namespace base | |
26 | |
27 namespace browser_sync { | 23 namespace browser_sync { |
28 class JsBackend; | 24 class JsBackend; |
29 class JsEventHandler; | 25 class JsEventHandler; |
30 class ModelSafeWorkerRegistrar; | 26 class ModelSafeWorkerRegistrar; |
31 | 27 |
32 namespace sessions { | 28 namespace sessions { |
33 struct SyncSessionSnapshot; | 29 struct SyncSessionSnapshot; |
34 } // namespace sessions | 30 } // namespace sessions |
35 } // namespace browser_sync | 31 } // namespace browser_sync |
36 | 32 |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 | 595 |
600 bool InitialSyncEndedForTypes(syncable::ModelTypeSet types, UserShare* share); | 596 bool InitialSyncEndedForTypes(syncable::ModelTypeSet types, UserShare* share); |
601 | 597 |
602 syncable::ModelTypeSet GetTypesWithEmptyProgressMarkerToken( | 598 syncable::ModelTypeSet GetTypesWithEmptyProgressMarkerToken( |
603 const syncable::ModelTypeSet types, | 599 const syncable::ModelTypeSet types, |
604 sync_api::UserShare* share); | 600 sync_api::UserShare* share); |
605 | 601 |
606 // Returns the string representation of a PassphraseRequiredReason value. | 602 // Returns the string representation of a PassphraseRequiredReason value. |
607 std::string PassphraseRequiredReasonToString(PassphraseRequiredReason reason); | 603 std::string PassphraseRequiredReasonToString(PassphraseRequiredReason reason); |
608 | 604 |
609 } // namespace sync_api | 605 } // namespace sync_api |
610 | 606 |
611 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 607 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |