#include "components/enterprise/browser/reporting/real_time_uploader.h"
#include <memory>
#include "base/task/thread_pool.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "components/enterprise/common/proto/extensions_workflow_events.pb.h"
#include "components/reporting/client/mock_report_queue.h"
#include "components/reporting/client/mock_report_queue_provider.h"
#include "components/reporting/client/report_queue_provider_test_helper.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
InSequence;
Invoke;
StrEq;
WithArg;
namespace enterprise_reporting {
namespace {
constexpr char kDMToken[] = …;
constexpr char kRequestEnqueueMetricsName[] = …;
constexpr reporting::Priority kPriority = …;
}
class RealTimeUploaderTest : public ::testing::Test { … };
TEST_F(RealTimeUploaderTest, UploadReport) { … }
}