| Index: components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.h
|
| diff --git a/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.h b/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.h
|
| index ed530f4f84bdacc3bc4f153fff6ca9903159b9ab..23edced9e32739945f6466a910084d0a752af4de 100644
|
| --- a/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.h
|
| +++ b/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.h
|
| @@ -32,7 +32,6 @@ class Location;
|
|
|
| namespace autofill {
|
|
|
| -class AutofillDataModel;
|
| class AutofillProfile;
|
| class AutofillWebDataBackend;
|
| class AutofillWebDataService;
|
| @@ -123,11 +122,13 @@ class AutofillWalletMetadataSyncableService
|
| // is not present locally.
|
| syncer::SyncMergeResult MergeData(const syncer::SyncDataList& sync_data);
|
|
|
| - // Sends updates to the sync server.
|
| + // Sends the autofill data model updates to the sync server if the local
|
| + // version is more recent. Used for both profiles and credit cards.
|
| + template <class DataType>
|
| void AutofillDataModelChanged(
|
| const std::string& server_id,
|
| const sync_pb::WalletMetadataSpecifics::Type& type,
|
| - const AutofillDataModel& local);
|
| + const DataType& local);
|
|
|
| base::ThreadChecker thread_checker_;
|
| AutofillWebDataBackend* web_data_backend_; // Weak ref.
|
|
|