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

Unified Diff: chrome/browser/sync/sessions/status_controller.cc

Issue 9305001: sync: Remove the remaining conflict sets code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review updates and renames Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/sessions/status_controller.cc
diff --git a/chrome/browser/sync/sessions/status_controller.cc b/chrome/browser/sync/sessions/status_controller.cc
index 95c8c4f64c68db93dc6fdf51a8a0bc3832bfa77b..e19d70679e0a4890eaf6ac30c9d37f40e0be06eb 100644
--- a/chrome/browser/sync/sessions/status_controller.cc
+++ b/chrome/browser/sync/sessions/status_controller.cc
@@ -270,7 +270,7 @@ int StatusController::TotalNumBlockingConflictingItems() const {
per_model_group_.begin();
int sum = 0;
for (; it != per_model_group_.end(); ++it) {
- sum += it->second->conflict_progress.ConflictingItemsSize();
+ sum += it->second->conflict_progress.SimpleConflictingItemsSize();
}
return sum;
}
@@ -282,8 +282,10 @@ int StatusController::TotalNumConflictingItems() const {
per_model_group_.begin();
int sum = 0;
for (; it != per_model_group_.end(); ++it) {
- sum += it->second->conflict_progress.ConflictingItemsSize();
- sum += it->second->conflict_progress.NonblockingConflictingItemsSize();
+ sum += it->second->conflict_progress.SimpleConflictingItemsSize();
+ sum += it->second->conflict_progress.EncryptionConflictingItemsSize();
+ sum += it->second->conflict_progress.HierarchyConflictingItemsSize();
+ sum += it->second->conflict_progress.ServerConflictingItemsSize();
}
return sum;
}

Powered by Google App Engine
This is Rietveld 408576698