chromium/skia/ext/SkDiscardableMemory_chrome.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "skia/ext/SkDiscardableMemory_chrome.h"

#include <stddef.h>

#include <utility>

#include "base/functional/callback_helpers.h"
#include "base/memory/discardable_memory.h"
#include "base/memory/discardable_memory_allocator.h"

SkDiscardableMemoryChrome::~SkDiscardableMemoryChrome() = default;

bool SkDiscardableMemoryChrome::lock() {}

void* SkDiscardableMemoryChrome::data() {}

void SkDiscardableMemoryChrome::unlock() {}

SkDiscardableMemoryChrome::SkDiscardableMemoryChrome(
    std::unique_ptr<base::DiscardableMemory> memory)
    :{}

base::trace_event::MemoryAllocatorDump*
SkDiscardableMemoryChrome::CreateMemoryAllocatorDump(
    const char* name,
    base::trace_event::ProcessMemoryDump* pmd) const {}

SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) {}