| Index: components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
|
| diff --git a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
|
| index 962985897c4aa1597b23b279ccafcfb163e318df..cd350bec3228bb71be9ed13ce486dc2c8a6d2164 100644
|
| --- a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
|
| +++ b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h
|
| @@ -42,7 +42,7 @@ class AutocompleteSyncBridge : public base::SupportsUserData::Data,
|
| static AutocompleteSyncBridge* FromWebDataService(
|
| AutofillWebDataService* web_data_service);
|
|
|
| - // syncer::ModelTypeService implementation.
|
| + // syncer::ModelTypeSyncBridge implementation.
|
| std::unique_ptr<syncer::MetadataChangeList> CreateMetadataChangeList()
|
| override;
|
| base::Optional<syncer::ModelError> MergeSyncData(
|
| @@ -70,11 +70,13 @@ class AutocompleteSyncBridge : public base::SupportsUserData::Data,
|
| // Returns the table associated with the |web_data_backend_|.
|
| AutofillTable* GetAutofillTable() const;
|
|
|
| - std::string GetStorageKeyFromAutofillEntry(
|
| - const autofill::AutofillEntry& entry);
|
| + // Respond to local autofill entries changing by notifying sync of the
|
| + // changes.
|
| + void ActOnLocalChanges(const AutofillChangeList& changes);
|
|
|
| - static std::string FormatStorageKey(const std::string& name,
|
| - const std::string& value);
|
| + // Synchronously load sync metadata from the autofill table and pass it to the
|
| + // processor so that it can start tracking changes.
|
| + void LoadMetadata();
|
|
|
| base::ThreadChecker thread_checker_;
|
|
|
|
|