#include "components/metrics/structured/test/test_event_storage.h"
#include "base/functional/callback_forward.h"
#include "base/task/current_thread.h"
#include "components/metrics/structured/histogram_util.h"
namespace metrics::structured {
namespace {
RepeatedPtrField;
}
TestEventStorage::TestEventStorage() = default;
TestEventStorage::~TestEventStorage() = default;
void TestEventStorage::AddEvent(StructuredEventProto event) { … }
RepeatedPtrField<StructuredEventProto> TestEventStorage::TakeEvents() { … }
int TestEventStorage::RecordedEventsCount() const { … }
void TestEventStorage::Purge() { … }
void TestEventStorage::AddBatchEvents(
const RepeatedPtrField<StructuredEventProto>& events) { … }
void TestEventStorage::CopyEvents(EventsProto* proto) const { … }
}