Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
|
petrcermak
2016/01/28 09:55:05
nit: Drop "(c)" (https://www.chromium.org/develope
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "content/public/browser/memory_pressure.h" | |
| 6 | |
| 7 #include "content/browser/memory/memory_pressure_controller.h" | |
| 8 | |
| 9 namespace content { | |
| 10 | |
| 11 void SendPressureNotification( | |
| 12 const BrowserChildProcessHost* child_process_host, | |
| 13 base::MemoryPressureListener::MemoryPressureLevel level) { | |
| 14 MemoryPressureController::GetInstance()->SendPressureNotification( | |
| 15 child_process_host, level); | |
| 16 } | |
| 17 | |
| 18 void SendPressureNotification( | |
| 19 const RenderProcessHost* render_process_host, | |
| 20 base::MemoryPressureListener::MemoryPressureLevel level) { | |
| 21 MemoryPressureController::GetInstance()->SendPressureNotification( | |
| 22 render_process_host, level); | |
| 23 } | |
| 24 | |
| 25 } // namespace content | |
| OLD | NEW |