chromium/chrome/browser/ui/performance_controls/tab_resource_usage_tab_helper.cc

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

#include "chrome/browser/ui/performance_controls/tab_resource_usage_tab_helper.h"

#include "chrome/browser/ui/performance_controls/tab_resource_usage_collector.h"

void TabResourceUsage::SetMemoryUsageInBytes(uint64_t memory_usage_bytes) {}

WEB_CONTENTS_USER_DATA_KEY_IMPL(TabResourceUsageTabHelper);

TabResourceUsageTabHelper::~TabResourceUsageTabHelper() = default;

TabResourceUsageTabHelper::TabResourceUsageTabHelper(
    content::WebContents* contents)
    :{}

void TabResourceUsageTabHelper::PrimaryPageChanged(content::Page&) {}

uint64_t TabResourceUsageTabHelper::GetMemoryUsageInBytes() {}

void TabResourceUsageTabHelper::SetMemoryUsageInBytes(
    uint64_t memory_usage_bytes) {}

scoped_refptr<const TabResourceUsage>
TabResourceUsageTabHelper::resource_usage() const {}