// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/test_discardable_memory_allocator.h" #include <cstdint> #include <cstring> #include "base/check.h" #include "base/memory/discardable_memory.h" #include "base/memory/ptr_util.h" namespace base { namespace { class DiscardableMemoryImpl : public DiscardableMemory { … }; } // namespace std::unique_ptr<DiscardableMemory> TestDiscardableMemoryAllocator::AllocateLockedDiscardableMemory(size_t size) { … } size_t TestDiscardableMemoryAllocator::GetBytesAllocated() const { … } } // namespace base