| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 BASE_MEMORY_MEMORY_PRESSURE_MONITOR_CHROMEOS_H_ | 5 #ifndef BASE_MEMORY_MEMORY_PRESSURE_MONITOR_CHROMEOS_H_ |
| 6 #define BASE_MEMORY_MEMORY_PRESSURE_MONITOR_CHROMEOS_H_ | 6 #define BASE_MEMORY_MEMORY_PRESSURE_MONITOR_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 9 #include "base/files/scoped_file.h" | 9 #include "base/files/scoped_file.h" |
| 10 #include "base/gtest_prod_util.h" | |
| 11 #include "base/macros.h" | 10 #include "base/macros.h" |
| 12 #include "base/memory/memory_pressure_listener.h" | 11 #include "base/memory/memory_pressure_listener.h" |
| 13 #include "base/memory/memory_pressure_monitor.h" | 12 #include "base/memory/memory_pressure_monitor.h" |
| 14 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 15 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 16 | 15 |
| 17 namespace base { | 16 namespace base { |
| 18 namespace chromeos { | 17 namespace chromeos { |
| 19 | 18 |
| 20 class TestMemoryPressureMonitor; | 19 class TestMemoryPressureMonitor; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 109 |
| 111 base::WeakPtrFactory<MemoryPressureMonitor> weak_ptr_factory_; | 110 base::WeakPtrFactory<MemoryPressureMonitor> weak_ptr_factory_; |
| 112 | 111 |
| 113 DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor); | 112 DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor); |
| 114 }; | 113 }; |
| 115 | 114 |
| 116 } // namespace chromeos | 115 } // namespace chromeos |
| 117 } // namespace base | 116 } // namespace base |
| 118 | 117 |
| 119 #endif // BASE_MEMORY_MEMORY_PRESSURE_MONITOR_CHROMEOS_H_ | 118 #endif // BASE_MEMORY_MEMORY_PRESSURE_MONITOR_CHROMEOS_H_ |
| OLD | NEW |