| Index: chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
| index 6a7c862850e694cbe601acbd9fb057926d639624..455b57d7638054689acb18343ca34404f9dde485 100644
|
| --- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
| @@ -26,6 +26,7 @@
|
| #include "chrome/browser/sync/glue/autofill_change_processor.h"
|
| #include "chrome/browser/sync/glue/autofill_data_type_controller.h"
|
| #include "chrome/browser/sync/glue/autofill_model_associator.h"
|
| +#include "chrome/browser/sync/glue/autofill_model_associator2.h"
|
| #include "chrome/browser/sync/profile_sync_factory.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "chrome/browser/sync/profile_sync_test_util.h"
|
| @@ -222,20 +223,20 @@ class ProfileSyncServiceAutofillTest : public AbstractProfileSyncServiceTest {
|
| }
|
|
|
| bool AddAutofillProfileSyncNode(const AutoFillProfile& profile) {
|
| - sync_api::WriteTransaction trans(
|
| + /* sync_api::WriteTransaction trans(
|
| service_->backend()->GetUserShareHandle());
|
| sync_api::ReadNode autofill_root(&trans);
|
| if (!autofill_root.InitByTagLookup(browser_sync::kAutofillTag))
|
| return false;
|
| sync_api::WriteNode node(&trans);
|
| - std::string tag = AutofillModelAssociator::ProfileLabelToTag(
|
| - profile.Label());
|
| + //std::string tag = AutofillModelAssociator2::ProfileLabelToTag(
|
| + // profile.Label());
|
| if (!node.InitUniqueByCreation(syncable::AUTOFILL, autofill_root, tag))
|
| return false;
|
| AutofillChangeProcessor::WriteAutofillProfile(profile, &node);
|
| sync_pb::AutofillSpecifics s(node.GetAutofillSpecifics());
|
| s.mutable_profile()->set_label(UTF16ToUTF8(profile.Label()));
|
| - node.SetAutofillSpecifics(s);
|
| + node.SetAutofillSpecifics(s);*/
|
| return true;
|
| }
|
|
|
|
|