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

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

Issue 9305001: sync: Remove the remaining conflict sets code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More renames, refactors and fixes 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/sync_session.cc
diff --git a/chrome/browser/sync/sessions/sync_session.cc b/chrome/browser/sync/sessions/sync_session.cc
index a1cea483b1562e9cdbbb16c877ada86d50ca7746..5ba19ebec6484671391aac588c720eed77aee065 100644
--- a/chrome/browser/sync/sessions/sync_session.cc
+++ b/chrome/browser/sync/sessions/sync_session.cc
@@ -160,7 +160,7 @@ SyncSessionSnapshot SyncSession::TakeSnapshot() const {
HasMoreToSync(),
delegate_->IsSyncingCurrentlySilenced(),
status_controller_->unsynced_handles().size(),
- status_controller_->TotalNumBlockingConflictingItems(),
+ status_controller_->TotalNumSimpleConflictingItems(),
status_controller_->TotalNumConflictingItems(),
status_controller_->did_commit_items(),
source_,
@@ -207,8 +207,8 @@ std::set<ModelSafeGroup> SyncSession::GetEnabledGroupsWithConflicts() const {
const sessions::ConflictProgress* conflict_progress =
status_controller_->GetUnrestrictedConflictProgress(*it);
if (conflict_progress &&
- (conflict_progress->ConflictingItemsBegin() !=
- conflict_progress->ConflictingItemsEnd())) {
+ (conflict_progress->SimpleConflictingItemsBegin() !=
+ conflict_progress->SimpleConflictingItemsEnd())) {
enabled_groups_with_conflicts.insert(*it);
}
}

Powered by Google App Engine
This is Rietveld 408576698