OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_MEMORY_PRESSURE_DIRECT_MEMORY_PRESSURE_CALCULATOR_H_ | 5 #ifndef COMPONENTS_MEMORY_PRESSURE_DIRECT_MEMORY_PRESSURE_CALCULATOR_H_ |
6 #define COMPONENTS_MEMORY_PRESSURE_DIRECT_MEMORY_PRESSURE_CALCULATOR_H_ | 6 #define COMPONENTS_MEMORY_PRESSURE_DIRECT_MEMORY_PRESSURE_CALCULATOR_H_ |
7 | 7 |
8 #ifdef OS_WIN | 8 #if defined(OS_LINUX) |
| 9 #include "components/memory_pressure/direct_memory_pressure_calculator_linux.h" |
| 10 #elsif defined(OS_WIN) |
9 #include "components/memory_pressure/direct_memory_pressure_calculator_win.h" | 11 #include "components/memory_pressure/direct_memory_pressure_calculator_win.h" |
10 #endif // OS_WIN | 12 #endif // OS_LINUX |
11 | 13 |
12 #endif // COMPONENTS_MEMORY_PRESSURE_DIRECT_MEMORY_PRESSURE_CALCULATOR_H_ | 14 #endif // COMPONENTS_MEMORY_PRESSURE_DIRECT_MEMORY_PRESSURE_CALCULATOR_H_ |
OLD | NEW |