#ifndef COMPONENTS_GWP_ASAN_CLIENT_GWP_ASAN_H_
#define COMPONENTS_GWP_ASAN_CLIENT_GWP_ASAN_H_
#include <stddef.h>
#include <string_view>
#include "components/gwp_asan/client/export.h"
#include "components/gwp_asan/common/lightweight_detector_state.h"
namespace gwp_asan {
namespace internal {
struct AllocatorSettings { … };
}
GWP_ASAN_EXPORT void EnableForMalloc(bool boost_sampling,
std::string_view process_type);
GWP_ASAN_EXPORT void EnableForPartitionAlloc(bool boost_sampling,
std::string_view process_type);
GWP_ASAN_EXPORT void MaybeEnableLightweightDetector(bool boost_sampling,
const char* process_type);
GWP_ASAN_EXPORT void MaybeEnableExtremeLightweightDetector(
bool boost_sampling,
std::string_view process_type);
}
#endif