#include "chrome/browser/performance_manager/user_tuning/user_performance_tuning_notifier.h"
#include <algorithm>
#include <iterator>
#include <memory>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/ranges/algorithm.h"
#include "base/test/scoped_feature_list.h"
#include "components/performance_manager/graph/frame_node_impl.h"
#include "components/performance_manager/graph/page_node_impl.h"
#include "components/performance_manager/graph/system_node_impl.h"
#include "components/performance_manager/public/decorators/process_metrics_decorator.h"
#include "components/performance_manager/public/features.h"
#include "components/performance_manager/public/graph/graph.h"
#include "components/performance_manager/test_support/graph_test_harness.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace performance_manager::user_tuning {
class UserPerformanceTuningNotifierTest : public GraphTestHarness { … };
TEST_F(UserPerformanceTuningNotifierTest, TestTabsThresholdTriggered) { … }
TEST_F(UserPerformanceTuningNotifierTest, TestOnlyTabsCount) { … }
TEST_F(UserPerformanceTuningNotifierTest, TestMemoryThresholdTriggered) { … }
}