| 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 #include "sync/internal_api/sync_manager_impl.h" | 5 #include "sync/internal_api/sync_manager_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/base64.h" | 12 #include "base/base64.h" |
| 13 #include "base/bind.h" | 13 #include "base/bind.h" |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/json/json_writer.h" | 16 #include "base/json/json_writer.h" |
| 17 #include "base/memory/ptr_util.h" | 17 #include "base/memory/ptr_util.h" |
| 18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
| 19 #include "base/metrics/histogram.h" | 19 #include "base/metrics/histogram.h" |
| 20 #include "base/observer_list.h" | 20 #include "base/observer_list.h" |
| 21 #include "base/strings/string_number_conversions.h" | 21 #include "base/strings/string_number_conversions.h" |
| 22 #include "base/thread_task_runner_handle.h" | 22 #include "base/threading/thread_task_runner_handle.h" |
| 23 #include "base/values.h" | 23 #include "base/values.h" |
| 24 #include "sync/engine/sync_scheduler.h" | 24 #include "sync/engine/sync_scheduler.h" |
| 25 #include "sync/engine/syncer_types.h" | 25 #include "sync/engine/syncer_types.h" |
| 26 #include "sync/internal_api/change_reorder_buffer.h" | 26 #include "sync/internal_api/change_reorder_buffer.h" |
| 27 #include "sync/internal_api/model_type_connector_proxy.h" | 27 #include "sync/internal_api/model_type_connector_proxy.h" |
| 28 #include "sync/internal_api/public/base/cancelation_signal.h" | 28 #include "sync/internal_api/public/base/cancelation_signal.h" |
| 29 #include "sync/internal_api/public/base/invalidation_interface.h" | 29 #include "sync/internal_api/public/base/invalidation_interface.h" |
| 30 #include "sync/internal_api/public/base/model_type.h" | 30 #include "sync/internal_api/public/base/model_type.h" |
| 31 #include "sync/internal_api/public/base_node.h" | 31 #include "sync/internal_api/public/base_node.h" |
| 32 #include "sync/internal_api/public/configure_reason.h" | 32 #include "sync/internal_api/public/configure_reason.h" |
| (...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1025 ClearParams params(callback); | 1025 ClearParams params(callback); |
| 1026 scheduler_->ScheduleClearServerData(params); | 1026 scheduler_->ScheduleClearServerData(params); |
| 1027 } | 1027 } |
| 1028 | 1028 |
| 1029 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch) { | 1029 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch) { |
| 1030 DCHECK(thread_checker_.CalledOnValidThread()); | 1030 DCHECK(thread_checker_.CalledOnValidThread()); |
| 1031 session_context_->set_cookie_jar_mismatch(account_mismatch); | 1031 session_context_->set_cookie_jar_mismatch(account_mismatch); |
| 1032 } | 1032 } |
| 1033 | 1033 |
| 1034 } // namespace syncer | 1034 } // namespace syncer |
| OLD | NEW |