#include "chrome/browser/extensions/api/storage/settings_sync_processor.h"
#include "base/logging.h"
#include "base/values.h"
#include "chrome/browser/extensions/api/storage/settings_sync_util.h"
#include "components/sync/model/model_error.h"
#include "components/sync/model/sync_change_processor.h"
#include "components/sync/model/sync_data.h"
#include "components/sync/protocol/extension_setting_specifics.pb.h"
#include "extensions/browser/api/storage/backend_task_runner.h"
#include "extensions/browser/api/storage/settings_namespace.h"
#include "extensions/common/extension_id.h"
namespace extensions {
SettingsSyncProcessor::SettingsSyncProcessor(
const ExtensionId& extension_id,
syncer::DataType type,
syncer::SyncChangeProcessor* sync_processor)
: … { … }
SettingsSyncProcessor::~SettingsSyncProcessor() { … }
void SettingsSyncProcessor::Init(const base::Value::Dict& initial_state) { … }
std::optional<syncer::ModelError> SettingsSyncProcessor::SendChanges(
const value_store::ValueStoreChangeList& changes) { … }
void SettingsSyncProcessor::NotifyChanges(
const value_store::ValueStoreChangeList& changes) { … }
}