Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(974)

Unified Diff: content/public/browser/memory_pressure_controller.cc

Issue 2882513004: Remove renderer notifications of memory pressure. (Closed)
Patch Set: Merge Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/memory_pressure_controller.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 7782d9a18908dfb5e17369188efa20e7b280179a..0000000000000000000000000000000000000000
--- a/content/public/browser/memory_pressure_controller.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// 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
« no previous file with comments | « content/public/browser/memory_pressure_controller.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698