OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 #include "components/memory_coordinator/browser/test_memory_monitor.h" | 5 #include "content/browser/memory/test_memory_monitor.h" |
6 | 6 |
7 namespace memory_coordinator { | 7 namespace content { |
8 | 8 |
9 TestMemoryMonitorDelegate::~TestMemoryMonitorDelegate() {} | 9 TestMemoryMonitorDelegate::~TestMemoryMonitorDelegate() {} |
10 | 10 |
11 void TestMemoryMonitorDelegate::GetSystemMemoryInfo( | 11 void TestMemoryMonitorDelegate::GetSystemMemoryInfo( |
12 base::SystemMemoryInfoKB* mem_info) { | 12 base::SystemMemoryInfoKB* mem_info) { |
13 *mem_info = mem_info_; | 13 *mem_info = mem_info_; |
14 ++calls_; | 14 ++calls_; |
15 } | 15 } |
16 | 16 |
17 } // namespace memory_coordinator | 17 } // namespace content |
OLD | NEW |