Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Side by Side Diff: components/sync/core_impl/sync_manager_impl.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
9 8
10 #include <string>
11 #include <utility> 9 #include <utility>
12 10
13 #include "base/base64.h" 11 #include "base/base64.h"
14 #include "base/bind.h" 12 #include "base/bind.h"
15 #include "base/callback.h" 13 #include "base/callback.h"
16 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
17 #include "base/json/json_writer.h" 15 #include "base/json/json_writer.h"
18 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
19 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
20 #include "base/metrics/histogram_macros.h" 18 #include "base/metrics/histogram_macros.h"
21 #include "base/observer_list.h" 19 #include "base/observer_list.h"
22 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
23 #include "base/threading/thread_task_runner_handle.h" 21 #include "base/threading/thread_task_runner_handle.h"
24 #include "base/values.h" 22 #include "base/values.h"
25 #include "components/sync/base/cancelation_signal.h" 23 #include "components/sync/base/cancelation_signal.h"
26 #include "components/sync/base/experiments.h" 24 #include "components/sync/base/experiments.h"
27 #include "components/sync/base/invalidation_interface.h" 25 #include "components/sync/base/invalidation_interface.h"
28 #include "components/sync/base/model_type.h" 26 #include "components/sync/base/model_type.h"
29 #include "components/sync/core/base_node.h" 27 #include "components/sync/core/base_node.h"
30 #include "components/sync/core/configure_reason.h" 28 #include "components/sync/core/configure_reason.h"
31 #include "components/sync/core/http_post_provider_factory.h" 29 #include "components/sync/core/http_post_provider_factory.h"
32 #include "components/sync/core/internal_components_factory.h" 30 #include "components/sync/core/internal_components_factory.h"
33 #include "components/sync/core/read_node.h" 31 #include "components/sync/core/read_node.h"
34 #include "components/sync/core/read_transaction.h" 32 #include "components/sync/core/read_transaction.h"
35 #include "components/sync/core/user_share.h"
36 #include "components/sync/core/write_node.h" 33 #include "components/sync/core/write_node.h"
37 #include "components/sync/core/write_transaction.h" 34 #include "components/sync/core/write_transaction.h"
38 #include "components/sync/core_impl/change_reorder_buffer.h"
39 #include "components/sync/core_impl/model_type_connector_proxy.h" 35 #include "components/sync/core_impl/model_type_connector_proxy.h"
40 #include "components/sync/core_impl/syncapi_internal.h" 36 #include "components/sync/core_impl/syncapi_internal.h"
41 #include "components/sync/core_impl/syncapi_server_connection_manager.h" 37 #include "components/sync/core_impl/syncapi_server_connection_manager.h"
42 #include "components/sync/engine/polling_constants.h" 38 #include "components/sync/engine/polling_constants.h"
43 #include "components/sync/engine_impl/cycle/directory_type_debug_info_emitter.h" 39 #include "components/sync/engine_impl/cycle/directory_type_debug_info_emitter.h"
44 #include "components/sync/engine_impl/sync_scheduler.h" 40 #include "components/sync/engine_impl/sync_scheduler.h"
45 #include "components/sync/engine_impl/syncer_types.h" 41 #include "components/sync/engine_impl/syncer_types.h"
46 #include "components/sync/protocol/proto_value_conversions.h" 42 #include "components/sync/protocol/proto_value_conversions.h"
47 #include "components/sync/protocol/sync.pb.h" 43 #include "components/sync/protocol/sync.pb.h"
48 #include "components/sync/syncable/directory.h" 44 #include "components/sync/syncable/directory.h"
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 } 987 }
992 988
993 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch, 989 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch,
994 bool empty_jar) { 990 bool empty_jar) {
995 DCHECK(thread_checker_.CalledOnValidThread()); 991 DCHECK(thread_checker_.CalledOnValidThread());
996 cycle_context_->set_cookie_jar_mismatch(account_mismatch); 992 cycle_context_->set_cookie_jar_mismatch(account_mismatch);
997 cycle_context_->set_cookie_jar_empty(empty_jar); 993 cycle_context_->set_cookie_jar_empty(empty_jar);
998 } 994 }
999 995
1000 } // namespace syncer 996 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698