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

Unified Diff: components/sync/engine_impl/cycle/sync_cycle.h

Issue 2850213002: [Sync] Minor refactor around SyncCycle and ModelTypeSet usage. (Closed)
Patch Set: Fix comment grammar. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/sync/engine_impl/cycle/sync_cycle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/cycle/sync_cycle.h
diff --git a/components/sync/engine_impl/cycle/sync_cycle.h b/components/sync/engine_impl/cycle/sync_cycle.h
index 72c07898d0bf194245bd2bfac3787641cf826809..0d8804e52adbf5a108a64593a5ce5516230461dd 100644
--- a/components/sync/engine_impl/cycle/sync_cycle.h
+++ b/components/sync/engine_impl/cycle/sync_cycle.h
@@ -88,9 +88,7 @@ class SyncCycle {
virtual ~Delegate() {}
};
- // Build a cycle without a nudge tracker. Used for poll or configure type
- // sync cycles.
- static SyncCycle* Build(SyncCycleContext* context, Delegate* delegate);
+ SyncCycle(SyncCycleContext* context, Delegate* delegate);
~SyncCycle();
// Builds a thread-safe and read-only copy of the current cycle state.
@@ -117,8 +115,6 @@ class SyncCycle {
}
private:
- SyncCycle(SyncCycleContext* context, Delegate* delegate);
-
// The context for this cycle, guaranteed to outlive |this|.
SyncCycleContext* const context_;
« no previous file with comments | « no previous file | components/sync/engine_impl/cycle/sync_cycle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698