#include "chrome/browser/ui/performance_controls/performance_controls_metrics.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/time/time.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
#include "components/prefs/testing_pref_service.h"
#include "content/public/test/test_renderer_host.h"
#include "testing/gtest/include/gtest/gtest.h"
class PerformanceControlsMetricsTest
: public content::RenderViewHostTestHarness { … };
TEST_F(PerformanceControlsMetricsTest, DailyMetricsResets) { … }