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

Unified Diff: chrome/browser/sync/engine/update_applicator.h

Issue 386030: Relieve SyncerSession,SyncCycleState, SyncProcessState, SyncerSession, Syncer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/browser/sync/engine/syncer_unittest.cc ('k') | chrome/browser/sync/engine/update_applicator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/update_applicator.h
===================================================================
--- chrome/browser/sync/engine/update_applicator.h (revision 32731)
+++ chrome/browser/sync/engine/update_applicator.h (working copy)
@@ -20,8 +20,12 @@
namespace browser_sync {
+namespace sessions {
+class ConflictProgress;
+class UpdateProgress;
+}
+
class ConflictResolver;
-class SyncerSession;
class UpdateApplicator {
public:
@@ -38,10 +42,12 @@
bool AllUpdatesApplied() const;
// This class does not automatically save its progress into the
- // SyncerSession -- to get that to happen, call this method after update
+ // SyncSession -- to get that to happen, call this method after update
// application is finished (i.e., when AttemptOneAllocation stops returning
// true).
- void SaveProgressIntoSessionState(SyncerSession* session);
+ void SaveProgressIntoSessionState(
+ sessions::ConflictProgress* conflict_progress,
+ sessions::UpdateProgress* update_progress);
private:
// Used to resolve conflicts when trying to apply updates.
« no previous file with comments | « chrome/browser/sync/engine/syncer_unittest.cc ('k') | chrome/browser/sync/engine/update_applicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698