1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/memory_pressure/direct_memory_pressure_calculator.h"
7 namespace memory_pressure
{
9 #if defined(MEMORY_PRESSURE_IS_POLLING)
11 bool DirectMemoryPressureCalculator::GetSystemMemoryInfo(
12 base::SystemMemoryInfoKB
* mem_info
) const {
13 return base::GetSystemMemoryInfo(mem_info
);
16 #endif // defined(MEMORY_PRESSURE_IS_POLLING)
18 } // namespace memory_pressure