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

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

Issue 8851006: [Sync] Replace all instances of ModelTypeSet with ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup pass #2 Created 9 years 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/profile_sync_service_typed_url_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
index 0d2d0f71140d8a628ed21a7762cb4eabf8e9f3a8..82d5c649585ecae8f868af03fefd2502f8ca61ad 100644
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
@@ -702,8 +702,8 @@ TEST_F(ProfileSyncServiceTypedUrlTest, FailWriteToHistoryBackend) {
WillRepeatedly(Return(false));
StartSyncService(base::Bind(&AddTypedUrlEntries, this, sync_entries));
ASSERT_TRUE(
- service_->failed_datatypes_handler().GetFailedTypes().count(
- syncable::TYPED_URLS) != 0);
- ASSERT_TRUE(
- service_->failed_datatypes_handler().GetFailedTypes().size() == 1);
+ service_->failed_datatypes_handler().GetFailedTypes().Has(
+ syncable::TYPED_URLS));
+ ASSERT_EQ(
+ 1u, service_->failed_datatypes_handler().GetFailedTypes().Size());
}
« no previous file with comments | « chrome/browser/sync/profile_sync_service_startup_unittest.cc ('k') | chrome/browser/sync/protocol/sync_protocol_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698