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

Side by Side Diff: components/sync/engine_impl/syncer.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/engine_impl/syncer.h" 5 #include "components/sync/engine_impl/syncer.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "base/trace_event/trace_event.h" 14 #include "base/trace_event/trace_event.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "components/sync/base/cancelation_signal.h" 16 #include "components/sync/base/cancelation_signal.h"
17 #include "components/sync/base/syncer_error.h" 17 #include "components/sync/base/syncer_error.h"
18 #include "components/sync/base/unique_position.h" 18 #include "components/sync/base/unique_position.h"
19 #include "components/sync/engine_impl/apply_control_data_updates.h" 19 #include "components/sync/engine_impl/apply_control_data_updates.h"
20 #include "components/sync/engine_impl/clear_server_data.h" 20 #include "components/sync/engine_impl/clear_server_data.h"
21 #include "components/sync/engine_impl/commit.h" 21 #include "components/sync/engine_impl/commit.h"
22 #include "components/sync/engine_impl/commit_processor.h" 22 #include "components/sync/engine_impl/commit_processor.h"
23 #include "components/sync/engine_impl/conflict_resolver.h"
24 #include "components/sync/engine_impl/cycle/nudge_tracker.h" 23 #include "components/sync/engine_impl/cycle/nudge_tracker.h"
25 #include "components/sync/engine_impl/get_updates_delegate.h" 24 #include "components/sync/engine_impl/get_updates_delegate.h"
26 #include "components/sync/engine_impl/get_updates_processor.h" 25 #include "components/sync/engine_impl/get_updates_processor.h"
27 #include "components/sync/engine_impl/net/server_connection_manager.h" 26 #include "components/sync/engine_impl/net/server_connection_manager.h"
28 #include "components/sync/engine_impl/syncer_types.h"
29 #include "components/sync/syncable/directory.h" 27 #include "components/sync/syncable/directory.h"
30 #include "components/sync/syncable/mutable_entry.h" 28 #include "components/sync/syncable/mutable_entry.h"
31 29
32 using base::Time; 30 using base::Time;
33 using base::TimeDelta; 31 using base::TimeDelta;
34 using sync_pb::ClientCommand; 32 using sync_pb::ClientCommand;
35 33
36 namespace syncer { 34 namespace syncer {
37 35
38 // TODO(akalin): We may want to propagate this switch up 36 // TODO(akalin): We may want to propagate this switch up
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 } 203 }
206 204
207 bool Syncer::PostClearServerData(SyncCycle* cycle) { 205 bool Syncer::PostClearServerData(SyncCycle* cycle) {
208 DCHECK(cycle); 206 DCHECK(cycle);
209 ClearServerData clear_server_data(cycle->context()->account_name()); 207 ClearServerData clear_server_data(cycle->context()->account_name());
210 const SyncerError post_result = clear_server_data.SendRequest(cycle); 208 const SyncerError post_result = clear_server_data.SendRequest(cycle);
211 return post_result == SYNCER_OK; 209 return post_result == SYNCER_OK;
212 } 210 }
213 211
214 } // namespace syncer 212 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/sync_scheduler_impl.cc ('k') | components/sync/engine_impl/syncer_proto_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698