#include "components/plus_addresses/webdata/plus_address_webdata_service.h"
#include <memory>
#include "base/check.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/location.h"
#include "base/memory/scoped_refptr.h"
#include "base/task/bind_post_task.h"
#include "components/plus_addresses/plus_address_types.h"
#include "components/plus_addresses/webdata/plus_address_sync_bridge.h"
#include "components/plus_addresses/webdata/plus_address_sync_util.h"
#include "components/plus_addresses/webdata/plus_address_table.h"
#include "components/sync/base/data_type.h"
#include "components/sync/base/features.h"
#include "components/sync/model/client_tag_based_data_type_processor.h"
#include "components/sync/model/proxy_data_type_controller_delegate.h"
#include "components/webdata/common/web_data_results.h"
#include "components/webdata/common/web_data_service_base.h"
#include "components/webdata/common/web_database.h"
#include "components/webdata/common/web_database_backend.h"
#include "components/webdata/common/web_database_service.h"
namespace plus_addresses {
PlusAddressWebDataService::PlusAddressWebDataService(
scoped_refptr<WebDatabaseService> wdbs,
scoped_refptr<base::SequencedTaskRunner> ui_task_runner)
: … { … }
PlusAddressWebDataService::~PlusAddressWebDataService() = default;
PlusAddressWebDataService::SyncBridgeDBSequenceWrapper::
SyncBridgeDBSequenceWrapper(
scoped_refptr<base::SequencedTaskRunner> db_task_runner)
: … { … }
PlusAddressWebDataService::SyncBridgeDBSequenceWrapper::
~SyncBridgeDBSequenceWrapper() = default;
void PlusAddressWebDataService::GetPlusProfiles(
WebDataServiceConsumer* consumer) { … }
void PlusAddressWebDataService::AddOrUpdatePlusProfile(
const PlusProfile& profile) { … }
void PlusAddressWebDataService::ClearPlusProfiles() { … }
std::unique_ptr<syncer::DataTypeControllerDelegate>
PlusAddressWebDataService::GetSyncControllerDelegate() { … }
void PlusAddressWebDataService::NotifyOnWebDataChangedBySync(
std::vector<PlusAddressDataChange> changes) { … }
}