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

Side by Side Diff: components/sync/engine_impl/cycle/sync_cycle.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/cycle/sync_cycle.h" 5 #include "components/sync/engine_impl/cycle/sync_cycle.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "components/sync/base/model_type.h"
12 #include "components/sync/engine/model_safe_worker.h"
13 #include "components/sync/syncable/directory.h" 11 #include "components/sync/syncable/directory.h"
14 12
15 namespace syncer { 13 namespace syncer {
16 14
17 // static 15 // static
18 SyncCycle* SyncCycle::Build(SyncCycleContext* context, Delegate* delegate) { 16 SyncCycle* SyncCycle::Build(SyncCycleContext* context, Delegate* delegate) {
19 return new SyncCycle(context, delegate); 17 return new SyncCycle(context, delegate);
20 } 18 }
21 19
22 SyncCycle::SyncCycle(SyncCycleContext* context, Delegate* delegate) 20 SyncCycle::SyncCycle(SyncCycleContext* context, Delegate* delegate)
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 FOR_EACH_OBSERVER(SyncEngineEventListener, *(context_->listeners()), 77 FOR_EACH_OBSERVER(SyncEngineEventListener, *(context_->listeners()),
80 OnSyncCycleEvent(event)); 78 OnSyncCycleEvent(event));
81 } 79 }
82 80
83 void SyncCycle::SendProtocolEvent(const ProtocolEvent& event) { 81 void SyncCycle::SendProtocolEvent(const ProtocolEvent& event) {
84 FOR_EACH_OBSERVER(SyncEngineEventListener, *(context_->listeners()), 82 FOR_EACH_OBSERVER(SyncEngineEventListener, *(context_->listeners()),
85 OnProtocolEvent(event)); 83 OnProtocolEvent(event));
86 } 84 }
87 85
88 } // namespace syncer 86 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/cycle/status_controller.cc ('k') | components/sync/engine_impl/cycle/sync_cycle_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698