| Index: content/public/browser/memory_pressure_controller.cc
|
| diff --git a/content/public/browser/memory_pressure_controller.cc b/content/public/browser/memory_pressure_controller.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7782d9a18908dfb5e17369188efa20e7b280179a
|
| --- /dev/null
|
| +++ b/content/public/browser/memory_pressure_controller.cc
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/public/browser/memory_pressure_controller.h"
|
| +
|
| +#include "content/browser/memory/memory_pressure_controller_impl.h"
|
| +
|
| +namespace content {
|
| +
|
| +// static
|
| +void MemoryPressureController::SendPressureNotification(
|
| + const BrowserChildProcessHost* child_process_host,
|
| + base::MemoryPressureListener::MemoryPressureLevel level) {
|
| + MemoryPressureControllerImpl::GetInstance()->SendPressureNotification(
|
| + child_process_host, level);
|
| +}
|
| +
|
| +// static
|
| +void MemoryPressureController::SendPressureNotification(
|
| + const RenderProcessHost* render_process_host,
|
| + base::MemoryPressureListener::MemoryPressureLevel level) {
|
| + MemoryPressureControllerImpl::GetInstance()->SendPressureNotification(
|
| + render_process_host, level);
|
| +}
|
| +
|
| +} // namespace content
|
|
|