#include "components/history/core/browser/sync/visit_id_remapper.h"
#include "components/history/core/browser/sync/history_backend_for_sync.h"
#include "components/sync/protocol/history_specifics.pb.h"
namespace history {
VisitIDRemapper::VisitIDRemapper(HistoryBackendForSync* history_backend)
: … { … }
VisitIDRemapper::~VisitIDRemapper() = default;
void VisitIDRemapper::RegisterVisit(VisitID local_visit_id,
const std::string& originator_cache_guid,
VisitID originator_visit_id,
VisitID originator_referring_visit_id,
VisitID originator_opener_visit_id) { … }
void VisitIDRemapper::RemapIDs() { … }
VisitID VisitIDRemapper::FindLocalVisitID(
const std::string& originator_cache_guid,
const base::flat_map<VisitID, VisitInfo>& visits_by_originator_id,
VisitID originator_visit_id) { … }
}