#ifndef BASE_TRACE_EVENT_MEMORY_INFRA_BACKGROUND_ALLOWLIST_H_
#define BASE_TRACE_EVENT_MEMORY_INFRA_BACKGROUND_ALLOWLIST_H_
#include <string>
#include <string_view>
#include "base/base_export.h"
#include "base/containers/span.h"
namespace base::trace_event {
bool BASE_EXPORT IsMemoryDumpProviderInAllowlist(const char* mdp_name);
bool BASE_EXPORT IsMemoryAllocatorDumpNameInAllowlist(const std::string& name);
void BASE_EXPORT
SetDumpProviderAllowlistForTesting(base::span<const std::string_view> list);
void BASE_EXPORT SetAllocatorDumpNameAllowlistForTesting(
base::span<const std::string_view> list);
}
#endif