| 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 "components/sync/core_impl/sync_manager_impl.h" | 5 #include "components/sync/core_impl/sync_manager_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 | 12 |
| 13 #include "base/base64.h" | 13 #include "base/base64.h" |
| 14 #include "base/bind.h" | 14 #include "base/bind.h" |
| 15 #include "base/callback.h" | 15 #include "base/callback.h" |
| 16 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
| 17 #include "base/json/json_writer.h" | 17 #include "base/json/json_writer.h" |
| 18 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
| 19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
| 20 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram_macros.h" |
| 21 #include "base/observer_list.h" | 21 #include "base/observer_list.h" |
| 22 #include "base/strings/string_number_conversions.h" | 22 #include "base/strings/string_number_conversions.h" |
| 23 #include "base/threading/thread_task_runner_handle.h" | 23 #include "base/threading/thread_task_runner_handle.h" |
| 24 #include "base/values.h" | 24 #include "base/values.h" |
| 25 #include "components/sync/base/cancelation_signal.h" | 25 #include "components/sync/base/cancelation_signal.h" |
| 26 #include "components/sync/base/experiments.h" | 26 #include "components/sync/base/experiments.h" |
| 27 #include "components/sync/base/invalidation_interface.h" | 27 #include "components/sync/base/invalidation_interface.h" |
| 28 #include "components/sync/base/model_type.h" | 28 #include "components/sync/base/model_type.h" |
| 29 #include "components/sync/core/base_node.h" | 29 #include "components/sync/core/base_node.h" |
| 30 #include "components/sync/core/configure_reason.h" | 30 #include "components/sync/core/configure_reason.h" |
| (...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 } | 1008 } |
| 1009 | 1009 |
| 1010 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch, | 1010 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch, |
| 1011 bool empty_jar) { | 1011 bool empty_jar) { |
| 1012 DCHECK(thread_checker_.CalledOnValidThread()); | 1012 DCHECK(thread_checker_.CalledOnValidThread()); |
| 1013 cycle_context_->set_cookie_jar_mismatch(account_mismatch); | 1013 cycle_context_->set_cookie_jar_mismatch(account_mismatch); |
| 1014 cycle_context_->set_cookie_jar_empty(empty_jar); | 1014 cycle_context_->set_cookie_jar_empty(empty_jar); |
| 1015 } | 1015 } |
| 1016 | 1016 |
| 1017 } // namespace syncer | 1017 } // namespace syncer |
| OLD | NEW |