#include "chrome/browser/policy/messaging_layer/public/report_client_test_util.h"
#include <string_view>
#include "base/files/file_path.h"
#include "base/memory/ptr_util.h"
#include "base/memory/scoped_refptr.h"
#include "base/memory/singleton.h"
#include "base/task/bind_post_task.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/policy/messaging_layer/public/report_client.h"
#include "chrome/browser/policy/messaging_layer/storage_selector/storage_selector.h"
#include "components/reporting/storage/storage_module_interface.h"
#include "components/reporting/storage/test_storage_module.h"
namespace reporting {
#if !BUILDFLAG(IS_CHROMEOS)
std::unique_ptr<ReportingClient::TestEnvironment>
ReportingClient::TestEnvironment::CreateWithLocalStorage(
const base::FilePath& reporting_path,
std::string_view verification_key) { … }
#endif
std::unique_ptr<ReportingClient::TestEnvironment>
ReportingClient::TestEnvironment::CreateWithStorageModule(
scoped_refptr<StorageModuleInterface> storage) { … }
ReportingClient::TestEnvironment::TestEnvironment(
ReportingClient::StorageModuleCreateCallback storage_create_cb)
: … { … }
ReportingClient::TestEnvironment::~TestEnvironment() = default;
}