Index: sync/sessions/sync_session.cc |
diff --git a/sync/sessions/sync_session.cc b/sync/sessions/sync_session.cc |
index b6a9ff33fe62511d1f76c9ad8e8349edf38ca890..3b2095652447459617561b5a30498539330f4a99 100644 |
--- a/sync/sessions/sync_session.cc |
+++ b/sync/sessions/sync_session.cc |
@@ -222,24 +222,6 @@ std::set<ModelSafeGroup> SyncSession::GetEnabledGroupsWithConflicts() const { |
return enabled_groups_with_conflicts; |
} |
-std::set<ModelSafeGroup> |
- SyncSession::GetEnabledGroupsWithVerifiedUpdates() const { |
- const std::set<ModelSafeGroup>& enabled_groups = GetEnabledGroups(); |
- std::set<ModelSafeGroup> enabled_groups_with_verified_updates; |
- for (std::set<ModelSafeGroup>::const_iterator it = |
- enabled_groups.begin(); it != enabled_groups.end(); ++it) { |
- const UpdateProgress* update_progress = |
- status_controller_->GetUnrestrictedUpdateProgress(*it); |
- if (update_progress && |
- (update_progress->VerifiedUpdatesBegin() != |
- update_progress->VerifiedUpdatesEnd())) { |
- enabled_groups_with_verified_updates.insert(*it); |
- } |
- } |
- |
- return enabled_groups_with_verified_updates; |
-} |
- |
namespace { |
// Returns false iff one of the command results had an error. |