| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_SYNC_CORE_SYNC_MANAGER_H_ | 5 #ifndef COMPONENTS_SYNC_CORE_SYNC_MANAGER_H_ |
| 6 #define COMPONENTS_SYNC_CORE_SYNC_MANAGER_H_ | 6 #define COMPONENTS_SYNC_CORE_SYNC_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/task_runner.h" | 17 #include "base/task_runner.h" |
| 18 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
| 19 #include "components/sync/base/invalidation_interface.h" | 19 #include "components/sync/base/invalidation_interface.h" |
| 20 #include "components/sync/base/model_type.h" | 20 #include "components/sync/base/model_type.h" |
| 21 #include "components/sync/base/weak_handle.h" | 21 #include "components/sync/base/weak_handle.h" |
| 22 #include "components/sync/core/change_record.h" | |
| 23 #include "components/sync/core/configure_reason.h" | 22 #include "components/sync/core/configure_reason.h" |
| 24 #include "components/sync/core/connection_status.h" | 23 #include "components/sync/core/connection_status.h" |
| 25 #include "components/sync/core/internal_components_factory.h" | 24 #include "components/sync/core/internal_components_factory.h" |
| 26 #include "components/sync/core/model_type_connector.h" | 25 #include "components/sync/core/model_type_connector.h" |
| 27 #include "components/sync/core/shutdown_reason.h" | 26 #include "components/sync/core/shutdown_reason.h" |
| 28 #include "components/sync/core/sync_encryption_handler.h" | 27 #include "components/sync/core/sync_encryption_handler.h" |
| 29 #include "components/sync/engine/events/protocol_event.h" | 28 #include "components/sync/engine/events/protocol_event.h" |
| 30 #include "components/sync/engine/model_safe_worker.h" | 29 #include "components/sync/engine/model_safe_worker.h" |
| 31 #include "components/sync/engine/net/http_post_provider_factory.h" | 30 #include "components/sync/engine/net/http_post_provider_factory.h" |
| 32 #include "components/sync/engine/sync_status.h" | 31 #include "components/sync/engine/sync_status.h" |
| 33 #include "components/sync/protocol/sync_protocol_error.h" | 32 #include "components/sync/protocol/sync_protocol_error.h" |
| 33 #include "components/sync/syncable/change_record.h" |
| 34 #include "google_apis/gaia/oauth2_token_service.h" | 34 #include "google_apis/gaia/oauth2_token_service.h" |
| 35 | 35 |
| 36 class GURL; | 36 class GURL; |
| 37 | 37 |
| 38 namespace sync_pb { | 38 namespace sync_pb { |
| 39 class EncryptedData; | 39 class EncryptedData; |
| 40 } // namespace sync_pb | 40 } // namespace sync_pb |
| 41 | 41 |
| 42 namespace syncer { | 42 namespace syncer { |
| 43 | 43 |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 | 393 |
| 394 // Updates Sync's tracking of whether the cookie jar has a mismatch with the | 394 // Updates Sync's tracking of whether the cookie jar has a mismatch with the |
| 395 // chrome account. See ClientConfigParams proto message for more info. | 395 // chrome account. See ClientConfigParams proto message for more info. |
| 396 // Note: this does not trigger a sync cycle. It just updates the sync context. | 396 // Note: this does not trigger a sync cycle. It just updates the sync context. |
| 397 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0; | 397 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0; |
| 398 }; | 398 }; |
| 399 | 399 |
| 400 } // namespace syncer | 400 } // namespace syncer |
| 401 | 401 |
| 402 #endif // COMPONENTS_SYNC_CORE_SYNC_MANAGER_H_ | 402 #endif // COMPONENTS_SYNC_CORE_SYNC_MANAGER_H_ |
| OLD | NEW |