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

Side by Side Diff: components/sync/engine_impl/syncer.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_SYNCER_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_SYNCER_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNCER_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNCER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // abort any blocking operations. 117 // abort any blocking operations.
118 SyncerError BuildAndPostCommits(ModelTypeSet request_types, 118 SyncerError BuildAndPostCommits(ModelTypeSet request_types,
119 NudgeTracker* nudge_tracker, 119 NudgeTracker* nudge_tracker,
120 SyncCycle* cycle, 120 SyncCycle* cycle,
121 CommitProcessor* commit_processor); 121 CommitProcessor* commit_processor);
122 122
123 void HandleCycleBegin(SyncCycle* cycle); 123 void HandleCycleBegin(SyncCycle* cycle);
124 bool HandleCycleEnd(SyncCycle* cycle, 124 bool HandleCycleEnd(SyncCycle* cycle,
125 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source); 125 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source);
126 126
127 CancelationSignal* const cancelation_signal_; 127 syncer::CancelationSignal* const cancelation_signal_;
128 128
129 // Whether the syncer is in the middle of a sync attempt. 129 // Whether the syncer is in the middle of a sync attempt.
130 bool is_syncing_; 130 bool is_syncing_;
131 131
132 DISALLOW_COPY_AND_ASSIGN(Syncer); 132 DISALLOW_COPY_AND_ASSIGN(Syncer);
133 }; 133 };
134 134
135 } // namespace syncer 135 } // namespace syncer
136 136
137 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNCER_H_ 137 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNCER_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/sync_scheduler_impl.cc ('k') | components/sync/engine_impl/syncer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698