#include "content/browser/gpu/peak_gpu_memory_tracker_impl.h"
#include <memory>
#include "base/containers/flat_map.h"
#include "content/browser/gpu/gpu_process_host.h"
#include "content/common/peak_gpu_memory_callback.h"
#include "content/public/browser/gpu_data_manager.h"
#include "content/public/browser/peak_gpu_memory_tracker_factory.h"
#include "services/viz/privileged/mojom/gl/gpu_service.mojom.h"
namespace content {
std::unique_ptr<input::PeakGpuMemoryTracker>
PeakGpuMemoryTrackerFactory::Create(input::PeakGpuMemoryTracker::Usage usage) { … }
uint32_t PeakGpuMemoryTrackerImpl::next_sequence_number_ = …;
PeakGpuMemoryTrackerImpl::PeakGpuMemoryTrackerImpl(
input::PeakGpuMemoryTracker::Usage usage)
: … { … }
PeakGpuMemoryTrackerImpl::~PeakGpuMemoryTrackerImpl() { … }
void PeakGpuMemoryTrackerImpl::Cancel() { … }
}