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

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

Issue 513543004: [Sync] Rename FailedDataTypesHandler -> DataTypeStatusTable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 4 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/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 79eeb4e18abf28a90b5574cb1319dfede7bb6cc6..dbea537ce1152738f0df739f0abd74544420ae84 100644
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
@@ -970,7 +970,7 @@ TEST_F(ProfileSyncServiceTypedUrlTest, FailWriteToHistoryBackend) {
// Errors writing to the DB should be recorded, but should not cause an
// unrecoverable error.
ASSERT_FALSE(
- sync_service_->failed_data_types_handler().GetFailedTypes().Has(
+ sync_service_->data_type_status_table().GetFailedTypes().Has(
syncer::TYPED_URLS));
// Some calls should have succeeded, so the error percentage should be
// somewhere > 0 and < 100.
@@ -1004,10 +1004,10 @@ TEST_F(ProfileSyncServiceTypedUrlTest, FailToGetTypedURLs) {
// Errors getting typed URLs will cause an unrecoverable error (since we can
// do *nothing* in that case).
ASSERT_TRUE(
- sync_service_->failed_data_types_handler().GetFailedTypes().Has(
+ sync_service_->data_type_status_table().GetFailedTypes().Has(
syncer::TYPED_URLS));
ASSERT_EQ(
- 1u, sync_service_->failed_data_types_handler().GetFailedTypes().Size());
+ 1u, sync_service_->data_type_status_table().GetFailedTypes().Size());
// Can't check GetErrorPercentage(), because generating an unrecoverable
// error will free the model associator.
}

Powered by Google App Engine
This is Rietveld 408576698