blob: 6e1e31bd3680b0fa2ee8f9e879074b1bbdb234ec [file] [log] [blame]
Sergei Glazunov29099d72023-01-12 16:07:561// Copyright 2023 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef BASE_MEMORY_RAW_PTR_ASAN_HOOKS_H_
6#define BASE_MEMORY_RAW_PTR_ASAN_HOOKS_H_
7
Yuki Shiino985ab91e2024-03-14 07:20:468#include "partition_alloc/partition_alloc_buildflags.h"
Sergei Glazunov29099d72023-01-12 16:07:569
10#if BUILDFLAG(USE_ASAN_BACKUP_REF_PTR)
11
12#include "base/memory/raw_ptr.h"
13
14namespace base::internal {
15
16const RawPtrHooks* GetRawPtrAsanHooks();
17
18}
19
20#endif // BUILDFLAG(USE_ASAN_BACKUP_REF_PTR)
21
22#endif // BASE_MEMORY_RAW_PTR_ASAN_HOOKS_H_