| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "content/browser/memory/memory_coordinator_impl.h" | 5 #include "content/browser/memory/memory_coordinator_impl.h" |
| 6 | 6 |
| 7 #include "base/memory/memory_coordinator_client_registry.h" | 7 #include "base/memory/memory_coordinator_client_registry.h" |
| 8 #include "base/memory/ptr_util.h" |
| 8 #include "base/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
| 9 #include "base/process/process_handle.h" | 10 #include "base/process/process_handle.h" |
| 10 #include "base/process/process_metrics.h" | 11 #include "base/process/process_metrics.h" |
| 11 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
| 12 #include "base/threading/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
| 13 #include "base/trace_event/trace_event.h" | 14 #include "base/trace_event/trace_event.h" |
| 14 #include "content/browser/memory/memory_monitor.h" | 15 #include "content/browser/memory/memory_monitor.h" |
| 15 #include "content/browser/memory/memory_state_updater.h" | 16 #include "content/browser/memory/memory_state_updater.h" |
| 16 #include "content/public/browser/content_browser_client.h" | 17 #include "content/public/browser/content_browser_client.h" |
| 17 #include "content/public/browser/notification_service.h" | 18 #include "content/public/browser/notification_service.h" |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 | 434 |
| 434 MemoryCoordinatorImpl::ChildInfo::ChildInfo() {} | 435 MemoryCoordinatorImpl::ChildInfo::ChildInfo() {} |
| 435 | 436 |
| 436 MemoryCoordinatorImpl::ChildInfo::ChildInfo(const ChildInfo& rhs) { | 437 MemoryCoordinatorImpl::ChildInfo::ChildInfo(const ChildInfo& rhs) { |
| 437 // This is a nop, but exists for compatibility with STL containers. | 438 // This is a nop, but exists for compatibility with STL containers. |
| 438 } | 439 } |
| 439 | 440 |
| 440 MemoryCoordinatorImpl::ChildInfo::~ChildInfo() {} | 441 MemoryCoordinatorImpl::ChildInfo::~ChildInfo() {} |
| 441 | 442 |
| 442 } // namespace content | 443 } // namespace content |
| OLD | NEW |