#include "components/feedback/feedback_data.h"
#include <memory>
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "components/feedback/feedback_report.h"
#include "components/feedback/feedback_uploader.h"
#include "components/prefs/testing_pref_service.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace feedback {
namespace {
constexpr char kHistograms[] = …;
constexpr char kImageData[] = …;
constexpr char kFileData[] = …;
constexpr char kAutofillMetadata[] = …;
class MockUploader : public FeedbackUploader { … };
}
class FeedbackDataTest : public testing::Test { … };
TEST_F(FeedbackDataTest, ReportSending) { … }
TEST_F(FeedbackDataTest, ReportSendingWithEmail) { … }
TEST_F(FeedbackDataTest, ReportSendingAutofillMetadata) { … }
}