#include "components/sync/engine/events/protocol_event_buffer.h"
#include <stdint.h>
#include "base/time/time.h"
#include "components/sync/engine/events/poll_get_updates_request_event.h"
#include "components/sync/engine/events/protocol_event.h"
#include "components/sync/protocol/sync.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
class ProtocolEventBufferTest : public ::testing::Test { … };
ProtocolEventBufferTest::ProtocolEventBufferTest() = default;
ProtocolEventBufferTest::~ProtocolEventBufferTest() = default;
std::unique_ptr<ProtocolEvent> ProtocolEventBufferTest::MakeTestEvent(
int64_t id) { … }
bool ProtocolEventBufferTest::HasId(const ProtocolEvent& event, int64_t id) { … }
TEST_F(ProtocolEventBufferTest, AddThenReturnEvents) { … }
TEST_F(ProtocolEventBufferTest, AddThenOverflowThenReturnEvents) { … }
}