#include "chrome/browser/memory/enterprise_memory_limit_pref_observer.h"
#include "base/functional/bind.h"
#include "base/memory/memory_pressure_monitor.h"
#include "build/build_config.h"
#include "chrome/browser/resource_coordinator/utils.h"
#include "chrome/common/pref_names.h"
#include "components/memory_pressure/multi_source_memory_pressure_monitor.h"
#if !BUILDFLAG(IS_ANDROID)
#include "chrome/browser/resource_coordinator/tab_lifecycle_unit_source.h"
#endif
namespace memory {
namespace {
const int kMinimalResidentSetLimitMb = …;
}
EnterpriseMemoryLimitPrefObserver::EnterpriseMemoryLimitPrefObserver(
PrefService* pref_service)
: … { … }
EnterpriseMemoryLimitPrefObserver::~EnterpriseMemoryLimitPrefObserver() { … }
bool EnterpriseMemoryLimitPrefObserver::PlatformIsSupported() { … }
void EnterpriseMemoryLimitPrefObserver::RegisterPrefs(
PrefRegistrySimple* registry) { … }
void EnterpriseMemoryLimitPrefObserver::GetPref() { … }
}