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

Unified Diff: chrome/browser/memory/chrome_memory_coordinator_delegate.cc

Issue 2941123004: Remove MemoryCoordinator::CanSuspendRenderer() (Closed)
Patch Set: Fix tests Created 3 years, 6 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
Index: chrome/browser/memory/chrome_memory_coordinator_delegate.cc
diff --git a/chrome/browser/memory/chrome_memory_coordinator_delegate.cc b/chrome/browser/memory/chrome_memory_coordinator_delegate.cc
index 4e82f5721cb2e635a217a2d7441f57220ac46684..7cb7ab21e074f7b3b651ab50242e077bcadede37 100644
--- a/chrome/browser/memory/chrome_memory_coordinator_delegate.cc
+++ b/chrome/browser/memory/chrome_memory_coordinator_delegate.cc
@@ -20,17 +20,6 @@ ChromeMemoryCoordinatorDelegate::ChromeMemoryCoordinatorDelegate() {}
ChromeMemoryCoordinatorDelegate::~ChromeMemoryCoordinatorDelegate() {}
-bool ChromeMemoryCoordinatorDelegate::CanSuspendBackgroundedRenderer(
- int render_process_id) {
-#if defined(OS_ANDROID)
- // TODO(bashi): Implement
- return true;
-#else
- return g_browser_process->GetTabManager()->CanSuspendBackgroundedRenderer(
- render_process_id);
-#endif
-}
-
void ChromeMemoryCoordinatorDelegate::DiscardTab() {
#if !defined(OS_ANDROID)
if (g_browser_process->GetTabManager())
« no previous file with comments | « chrome/browser/memory/chrome_memory_coordinator_delegate.h ('k') | content/browser/memory/memory_coordinator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698