blob: 7bc24bfef589414403278c219d3b403f2ea36ea8 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// 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 <memory>
#include "base/feature_list.h"
#include "base/macros.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 "content/common/content_export.h"
#include "mojo/public/cpp/bindings/remote.h"
namespace content {
CONTENT_EXPORT std::unique_ptr<base::DiscardableMemoryAllocator>
CreateDiscardableMemoryAllocator();
} // namespace content
#endif // CONTENT_RENDERER_DISCARDABLE_MEMORY_UTILS_H_