chromium/chrome/browser/ui/performance_controls/tab_resource_usage_collector.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_collector.h"

#include "base/no_destructor.h"
#include "base/time/time.h"
#include "chrome/browser/ui/performance_controls/tab_resource_usage_tab_helper.h"
#include "components/performance_manager/public/resource_attribution/page_context.h"
#include "components/performance_manager/public/resource_attribution/resource_types.h"
#include "content/public/browser/web_contents.h"

namespace {
constexpr base::TimeDelta kTabResourceUsageRefreshInterval =;

MemorySummaryResult;
PageContext;
QueryBuilder;
QueryResultMap;
ResourceType;
}  // namespace

TabResourceUsageCollector::TabResourceUsageCollector()
    :{}

TabResourceUsageCollector::~TabResourceUsageCollector() = default;

TabResourceUsageCollector* TabResourceUsageCollector::Get() {}

void TabResourceUsageCollector::AddObserver(Observer* o) {}

void TabResourceUsageCollector::RemoveObserver(Observer* o) {}

void TabResourceUsageCollector::ImmediatelyRefreshMetrics(
    content::WebContents* web_contents) {}

void TabResourceUsageCollector::ImmediatelyRefreshMetricsForAllTabs() {}

void TabResourceUsageCollector::OnResourceUsageUpdated(
    const QueryResultMap& results) {}

void TabResourceUsageCollector::OnLoadingStateChange(
    content::WebContents* web_contents,
    LoadingState old_loading_state,
    LoadingState new_loading_state) {}