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

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

Issue 2644373003: Revert of [Sync] Make directory types registration explicit in ModelTypeRegistry (Closed)
Patch Set: Created 3 years, 11 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 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_impl/cycle/status_controller.h" 20 #include "components/sync/engine_impl/cycle/status_controller.h"
20 #include "components/sync/engine_impl/cycle/sync_cycle_context.h" 21 #include "components/sync/engine_impl/cycle/sync_cycle_context.h"
21 #include "components/sync/engine_impl/sync_cycle_event.h" 22 #include "components/sync/engine_impl/sync_cycle_event.h"
22 #include "components/sync/protocol/sync_protocol_error.h" 23 #include "components/sync/protocol/sync_protocol_error.h"
23 24
24 namespace syncer { 25 namespace syncer {
25 26
26 class ProtocolEvent; 27 class ProtocolEvent;
27 28
28 // A class representing an attempt to synchronize the local syncable data 29 // A class representing an attempt to synchronize the local syncable data
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 128
128 // Our controller for various status and error counters. 129 // Our controller for various status and error counters.
129 std::unique_ptr<StatusController> status_controller_; 130 std::unique_ptr<StatusController> status_controller_;
130 131
131 DISALLOW_COPY_AND_ASSIGN(SyncCycle); 132 DISALLOW_COPY_AND_ASSIGN(SyncCycle);
132 }; 133 };
133 134
134 } // namespace syncer 135 } // namespace syncer
135 136
136 #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/sync_manager.h ('k') | components/sync/engine_impl/cycle/sync_cycle_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698