chromium/chrome/browser/ui/performance_controls/tab_resource_usage_tab_helper_unittest.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/test/base/chrome_render_view_host_test_harness.h"
#include "url/gurl.h"

namespace {
constexpr char kTestDomain[] =;
constexpr uint64_t kTestMemoryUsageBytes =;
}  // namespace

class TabResourceUsageTabHelperTest : public ChromeRenderViewHostTestHarness {};

// Return memory usage that was set on the tab helper.
TEST_F(TabResourceUsageTabHelperTest, ReturnsMemoryUsageInBytes) {}

// Clears memory usage on navigate.
TEST_F(TabResourceUsageTabHelperTest, ClearsMemoryUsageOnNavigate) {}

// Correctly reports whether memory usage is high after memory usage is set.
TEST_F(TabResourceUsageTabHelperTest, HighMemoryUsage) {}