1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
content / renderer / discardable_memory_utils.h [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_DISCARDABLE_MEMORY_UTILS_H_
#define CONTENT_RENDERER_DISCARDABLE_MEMORY_UTILS_H_
#include <stddef.h>
#include "base/feature_list.h"
#include "base/memory/discardable_memory.h"
#include "base/memory/discardable_memory_allocator.h"
#include "base/memory/madv_free_discardable_memory_posix.h"
#include "base/memory/ref_counted.h"
#include "base/synchronization/lock.h"
#include "build/build_config.h"
#include "components/discardable_memory/client/client_discardable_shared_memory_manager.h"
#include "mojo/public/cpp/bindings/remote.h"
namespace content {
scoped_refptr<discardable_memory::ClientDiscardableSharedMemoryManager>
CreateDiscardableMemoryAllocator();
} // namespace content
#endif // CONTENT_RENDERER_DISCARDABLE_MEMORY_UTILS_H_