#include "chrome/browser/policy/messaging_layer/upload/event_upload_size_controller.h"
#include <algorithm>
#include <cstdint>
#include <optional>
#include <string>
#include "base/test/protobuf_matchers.h"
#include "chrome/browser/policy/messaging_layer/upload/testing_network_condition_service.h"
#include "components/reporting/proto/synced/record.pb.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
EqualsProto;
Matches;
SizeIs;
namespace reporting {
namespace {
class EqualsProtoVector { … };
}
class EventUploadSizeControllerTest : public ::testing::Test { … };
TEST_F(EventUploadSizeControllerTest, AccountForRecordAddUp) { … }
TEST_F(EventUploadSizeControllerTest, AccountForFileUpload) { … }
TEST_F(EventUploadSizeControllerTest, BuildEncryptedRecordsAll) { … }
TEST_F(EventUploadSizeControllerTest, BuildEncryptedRecordsPart) { … }
TEST_F(EventUploadSizeControllerTest, BuildEncryptedRecordsPartWithRecordCopy) { … }
}