Index: chrome/browser/sync/glue/extension_data_type_controller_unittest.cc |
diff --git a/chrome/browser/sync/glue/extension_data_type_controller_unittest.cc b/chrome/browser/sync/glue/extension_data_type_controller_unittest.cc |
index a8d497901f3ba2f193f83a064715f113166b9017..af9b356ce6e70ed137019eac7421e2fb55ff3073 100644 |
--- a/chrome/browser/sync/glue/extension_data_type_controller_unittest.cc |
+++ b/chrome/browser/sync/glue/extension_data_type_controller_unittest.cc |
@@ -54,8 +54,6 @@ class ExtensionDataTypeControllerTest : public testing::Test { |
} |
void SetAssociateExpectations() { |
- EXPECT_CALL(*model_associator_, ChromeModelHasUserCreatedNodes(_)). |
- WillRepeatedly(DoAll(SetArgumentPointee<0>(false), Return(true))); |
EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). |
WillRepeatedly(DoAll(SetArgumentPointee<0>(true), Return(true))); |
EXPECT_CALL(*model_associator_, AssociateModels()). |
@@ -106,8 +104,6 @@ TEST_F(ExtensionDataTypeControllerTest, StartOk) { |
SetStartExpectations(); |
SetAssociateExpectations(); |
SetActivateExpectations(); |
- EXPECT_CALL(*model_associator_, ChromeModelHasUserCreatedNodes(_)). |
- WillRepeatedly(DoAll(SetArgumentPointee<0>(true), Return(true))); |
EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). |
WillRepeatedly(DoAll(SetArgumentPointee<0>(true), Return(true))); |
@@ -130,8 +126,6 @@ TEST_F(ExtensionDataTypeControllerTest, |
StartAssociationTriggersUnrecoverableError) { |
SetStartExpectations(); |
// Set up association to fail with an unrecoverable error. |
- EXPECT_CALL(*model_associator_, ChromeModelHasUserCreatedNodes(_)). |
- WillRepeatedly(DoAll(SetArgumentPointee<0>(false), Return(true))); |
EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). |
WillRepeatedly(DoAll(SetArgumentPointee<0>(false), Return(false))); |
EXPECT_CALL(start_callback_, Run(DataTypeController::UNRECOVERABLE_ERROR)); |
@@ -159,8 +153,6 @@ TEST_F(ExtensionDataTypeControllerTest, OnUnrecoverableError) { |
SetStartExpectations(); |
SetAssociateExpectations(); |
SetActivateExpectations(); |
- EXPECT_CALL(*model_associator_, ChromeModelHasUserCreatedNodes(_)). |
- WillRepeatedly(DoAll(SetArgumentPointee<0>(true), Return(true))); |
EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). |
WillRepeatedly(DoAll(SetArgumentPointee<0>(true), Return(true))); |
EXPECT_CALL(service_, OnUnrecoverableError(_, _)). |