#include "ui/ozone/platform/wayland/host/wayland_serial_tracker.h"
#include <optional>
#include <sstream>
#include <vector>
#include "base/containers/contains.h"
#include "base/containers/fixed_flat_map.h"
#include "base/time/time.h"
namespace wl {
SerialTracker::SerialTracker()
: … { … }
SerialTracker::~SerialTracker() = default;
void SerialTracker::UpdateSerial(SerialType type, uint32_t serial) { … }
void SerialTracker::ResetSerial(SerialType type) { … }
std::optional<Serial> SerialTracker::GetSerial(SerialType type) const { … }
std::optional<Serial> SerialTracker::GetSerial(
const std::vector<SerialType>& types) const { … }
void SerialTracker::ClearForTesting() { … }
std::string SerialTracker::ToString() const { … }
}