chromium/chrome/browser/performance_manager/user_tuning/user_performance_tuning_manager_unittest.cc

// Copyright 2022 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/performance_manager/public/user_tuning/user_performance_tuning_manager.h"

#include <memory>
#include <utility>

#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "base/values.h"
#include "chrome/browser/performance_manager/test_support/fake_memory_saver_mode_delegate.h"
#include "components/performance_manager/public/user_tuning/prefs.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace performance_manager::user_tuning {
namespace {

MemorySaverModeState;
Bool;
Combine;
Optional;
ValuesIn;

}  // namespace

struct PrefTestParams {};

class UserPerformanceTuningManagerTest
    : public ::testing::Test,
      public ::testing::WithParamInterface<PrefTestParams> {};

class MockUserPerformanceTuningManagerObserver
    : public UserPerformanceTuningManager::Observer {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(UserPerformanceTuningManagerTest, OnPrefChanged) {}

TEST_P(UserPerformanceTuningManagerTest, MemorySaverChangeObserver) {}

}  // namespace performance_manager::user_tuning