| Index: chrome/browser/sync/chrome_sync_client.cc
|
| diff --git a/chrome/browser/sync/chrome_sync_client.cc b/chrome/browser/sync/chrome_sync_client.cc
|
| index 2486d7cc19b6f95f8c1b11c4a652c1a845a39654..a5b6279e4f701c942f15d2aa46fe3691f6544fc3 100644
|
| --- a/chrome/browser/sync/chrome_sync_client.cc
|
| +++ b/chrome/browser/sync/chrome_sync_client.cc
|
| @@ -38,6 +38,7 @@
|
| #include "chrome/common/features.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| +#include "components/autofill/core/browser/webdata/autocomplete_sync_bridge.h"
|
| #include "components/autofill/core/browser/webdata/autocomplete_syncable_service.h"
|
| #include "components/autofill/core/browser/webdata/autofill_profile_syncable_service.h"
|
| #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.h"
|
| @@ -436,6 +437,10 @@ ChromeSyncClient::GetSyncBridgeForModelType(syncer::ModelType type) {
|
| return ProfileSyncServiceFactory::GetForProfile(profile_)
|
| ->GetDeviceInfoSyncBridge()
|
| ->AsWeakPtr();
|
| + case syncer::AUTOFILL:
|
| + return autofill::AutocompleteSyncBridge::FromWebDataService(
|
| + web_data_service_.get())
|
| + ->AsWeakPtr();
|
| default:
|
| NOTREACHED();
|
| return base::WeakPtr<syncer::ModelTypeSyncBridge>();
|
|
|