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

Unified Diff: chrome/browser/sync/failed_datatypes_handler.cc

Issue 16105012: Unrevert "[Sync] Split GetPreferredTypes into GetActiveType..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adjust mock Created 7 years, 7 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/failed_datatypes_handler.cc
diff --git a/chrome/browser/sync/failed_datatypes_handler.cc b/chrome/browser/sync/failed_datatypes_handler.cc
index effba20a03447eb2215f9c54d3f846236b8364a0..a95dd09ab1e7cbbbd7e112ca947f834d6e4ad8c6 100644
--- a/chrome/browser/sync/failed_datatypes_handler.cc
+++ b/chrome/browser/sync/failed_datatypes_handler.cc
@@ -20,7 +20,6 @@ syncer::ModelTypeSet GetTypesFromErrorsList(
syncer::ModelTypeSet result;
for (std::vector<syncer::SyncError>::const_iterator it = errors.begin();
it != errors.end(); ++it) {
- DCHECK(!result.Has(it->type()));
result.Put(it->type());
}
return result;
« no previous file with comments | « chrome/browser/password_manager/password_generation_manager_unittest.cc ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698