Index: chrome/browser/sync/glue/preference_data_type_controller_unittest.cc |
diff --git a/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc b/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc |
index 74b1a4bd4e9af55c8b4eb9655774223e96b3d4e8..b732716873df9b43a66946816f1776c4af5d2ead 100644 |
--- a/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc |
+++ b/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc |
@@ -53,8 +53,6 @@ class PreferenceDataTypeControllerTest : 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()). |
@@ -104,8 +102,6 @@ TEST_F(PreferenceDataTypeControllerTest, 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))); |
@@ -128,8 +124,6 @@ TEST_F(PreferenceDataTypeControllerTest, |
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)); |
@@ -156,8 +150,6 @@ TEST_F(PreferenceDataTypeControllerTest, 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(_,_)). |