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 8c71be7a609583f15da45364338656fa1805042f..f69b9a79689e66ae09805c4423c9afb9ef6d213a 100644 |
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
@@ -943,9 +943,11 @@ TEST_F(ProfileSyncServiceTypedUrlTest, FailToGetTypedURLs) { |
sync_entries.push_back(sync_entry); |
EXPECT_CALL(error_handler_, CreateAndUploadError(_, _, _)). |
- WillOnce(Return(syncer::SyncError(FROM_HERE, |
- "Unit test", |
- syncer::TYPED_URLS))); |
+ WillOnce(Return(syncer::SyncError( |
+ FROM_HERE, |
+ syncer::SyncError::DATATYPE_ERROR, |
+ "Unit test", |
+ syncer::TYPED_URLS))); |
StartSyncService(base::Bind(&AddTypedUrlEntries, this, sync_entries)); |
// Errors getting typed URLs will cause an unrecoverable error (since we can |
// do *nothing* in that case). |