#include "components/sync/engine/events/protocol_event_buffer.h"
#include <string>
#include "base/command_line.h"
#include "base/strings/string_number_conversions.h"
#include "components/sync/base/command_line_switches.h"
#include "components/sync/engine/events/protocol_event.h"
namespace syncer {
const size_t ProtocolEventBuffer::kDefaultBufferSize = …;
namespace {
size_t GetBufferSize() { … }
}
ProtocolEventBuffer::ProtocolEventBuffer() : … { … }
ProtocolEventBuffer::~ProtocolEventBuffer() = default;
void ProtocolEventBuffer::RecordProtocolEvent(const ProtocolEvent& event) { … }
std::vector<std::unique_ptr<ProtocolEvent>>
ProtocolEventBuffer::GetBufferedProtocolEvents() const { … }
}