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

Unified Diff: chrome/browser/sync/profile_sync_service_startup_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_startup_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
index 35359c34040b8dcf68f906c47eecd41fb7ed06c0..78f7c933543678a3cedde9cecc5332c0cf7e54e5 100644
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
@@ -88,7 +88,7 @@ class ProfileSyncServiceStartupTest : public testing::Test {
content::TestBrowserThreadBundle::REAL_IO_THREAD),
profile_manager_(TestingBrowserProcess::GetGlobal()),
sync_(NULL),
- failed_data_types_handler_(NULL) {}
+ data_type_status_table_(NULL) {}
virtual ~ProfileSyncServiceStartupTest() {
}
@@ -149,13 +149,13 @@ class ProfileSyncServiceStartupTest : public testing::Test {
}
void SetError() {
- sync_driver::FailedDataTypesHandler::TypeErrorMap errors;
+ sync_driver::DataTypeStatusTable::TypeErrorMap errors;
errors[syncer::BOOKMARKS] =
syncer::SyncError(FROM_HERE,
syncer::SyncError::UNRECOVERABLE_ERROR,
"Error",
syncer::BOOKMARKS);
- failed_data_types_handler_->UpdateFailedDataTypes(errors);
+ data_type_status_table_->UpdateFailedDataTypes(errors);
}
protected:
@@ -174,7 +174,7 @@ class ProfileSyncServiceStartupTest : public testing::Test {
DataTypeManagerMock* data_type_manager = new DataTypeManagerMock();
EXPECT_CALL(*components_factory_mock(),
CreateDataTypeManager(_, _, _, _, _, _)).
- WillOnce(DoAll(SaveArg<5>(&failed_data_types_handler_),
+ WillOnce(DoAll(SaveArg<5>(&data_type_status_table_),
Return(data_type_manager)));
return data_type_manager;
}
@@ -193,7 +193,7 @@ class ProfileSyncServiceStartupTest : public testing::Test {
TestingProfile* profile_;
ProfileSyncService* sync_;
ProfileSyncServiceObserverMock observer_;
- sync_driver::FailedDataTypesHandler* failed_data_types_handler_;
+ sync_driver::DataTypeStatusTable* data_type_status_table_;
};
class ProfileSyncServiceStartupCrosTest : public ProfileSyncServiceStartupTest {
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/profile_sync_service_typed_url_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698