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

Side by Side Diff: components/sync/engine_impl/cycle/sync_cycle.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "components/sync/base/model_type.h" 17 #include "components/sync/base/model_type.h"
18 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" 18 #include "components/sync/engine/cycle/sync_cycle_snapshot.h"
19 #include "components/sync/engine/model_safe_worker.h" 19 #include "components/sync/engine/model_safe_worker.h"
20 #include "components/sync/engine_impl/cycle/status_controller.h" 20 #include "components/sync/engine_impl/cycle/status_controller.h"
21 #include "components/sync/engine_impl/cycle/sync_cycle_context.h" 21 #include "components/sync/engine_impl/cycle/sync_cycle_context.h"
22 #include "components/sync/engine_impl/sync_cycle_event.h" 22 #include "components/sync/engine_impl/sync_cycle_event.h"
23 #include "components/sync/protocol/sync_protocol_error.h" 23 #include "components/sync/protocol/sync_protocol_error.h"
24 24
25 namespace syncer { 25 namespace syncer {
26 26
27 class ModelSafeWorker;
28 class NudgeTracker;
29 class ProtocolEvent; 27 class ProtocolEvent;
30 28
31 // A class representing an attempt to synchronize the local syncable data 29 // A class representing an attempt to synchronize the local syncable data
32 // store with a sync server. A SyncCycle instance is passed as a stateful 30 // store with a sync server. A SyncCycle instance is passed as a stateful
33 // bundle throughout the sync cycle. The SyncCycle is not reused across 31 // bundle throughout the sync cycle. The SyncCycle is not reused across
34 // sync cycles; each cycle starts with a new one. 32 // sync cycles; each cycle starts with a new one.
35 class SyncCycle { 33 class SyncCycle {
36 public: 34 public:
37 // The Delegate services events that occur during the cycle requiring an 35 // The Delegate services events that occur during the cycle requiring an
38 // explicit (and cycle-global) action, as opposed to events that are simply 36 // explicit (and cycle-global) action, as opposed to events that are simply
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 128
131 // Our controller for various status and error counters. 129 // Our controller for various status and error counters.
132 std::unique_ptr<StatusController> status_controller_; 130 std::unique_ptr<StatusController> status_controller_;
133 131
134 DISALLOW_COPY_AND_ASSIGN(SyncCycle); 132 DISALLOW_COPY_AND_ASSIGN(SyncCycle);
135 }; 133 };
136 134
137 } // namespace syncer 135 } // namespace syncer
138 136
139 #endif // COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_H_ 137 #endif // COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_SYNC_CYCLE_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/cycle/nudge_tracker.h ('k') | components/sync/engine_impl/directory_update_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698