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

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

Issue 9305001: sync: Remove the remaining conflict sets code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove failing assertion. Created 8 years, 10 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 | « chrome/browser/sync/engine/syncer_util.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
diff --git a/chrome/browser/sync/engine/update_applicator.h b/chrome/browser/sync/engine/update_applicator.h
index 1196fccf29f5128678c2ecbd8415c46d630c1783..8abf9f68825abb6426a83ee98f72312c3e2413d6 100644
--- a/chrome/browser/sync/engine/update_applicator.h
+++ b/chrome/browser/sync/engine/update_applicator.h
@@ -57,14 +57,13 @@ class UpdateApplicator {
private:
// Track the status of all applications.
- // We treat encryption conflicts as nonblocking conflict items when we save
- // progress.
class ResultTracker {
public:
explicit ResultTracker(size_t num_results);
virtual ~ResultTracker();
- void AddConflict(syncable::Id);
+ void AddSimpleConflict(syncable::Id);
void AddEncryptionConflict(syncable::Id);
+ void AddHierarchyConflict(syncable::Id);
void AddSuccess(syncable::Id);
void SaveProgress(sessions::ConflictProgress* conflict_progress,
sessions::UpdateProgress* update_progress);
@@ -77,6 +76,7 @@ class UpdateApplicator {
std::vector<syncable::Id> conflicting_ids_;
std::vector<syncable::Id> successful_ids_;
std::vector<syncable::Id> encryption_conflict_ids_;
+ std::vector<syncable::Id> hierarchy_conflict_ids_;
};
// If true, AttemptOneApplication will skip over |entry| and return true.
« no previous file with comments | « chrome/browser/sync/engine/syncer_util.cc ('k') | chrome/browser/sync/engine/update_applicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698