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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2143353004: Revert of Add MemoryCoordinator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/browser/memory/memory_coordinator_browsertest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 00146a1d8ccd980cab6405ae08a34b29b9eb0131..cb6a6bc5fd02f51b71a0b54d4b3cdea33e414f48 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -44,8 +44,6 @@
#include "base/tracked_objects.h"
#include "build/build_config.h"
#include "cc/base/switches.h"
-#include "components/memory_coordinator/browser/memory_coordinator.h"
-#include "components/memory_coordinator/common/memory_coordinator_features.h"
#include "components/scheduler/common/scheduler_switches.h"
#include "components/tracing/common/tracing_switches.h"
#include "components/webmessaging/broadcast_channel_provider.h"
@@ -448,13 +446,6 @@
return str;
}
-void CreateMemoryCoordinatorHandle(
- int render_process_id,
- memory_coordinator::mojom::MemoryCoordinatorHandleRequest request) {
- BrowserMainLoop::GetInstance()->memory_coordinator()->CreateHandle(
- render_process_id, std::move(request));
-}
-
} // namespace
RendererMainThreadFactoryFunction g_renderer_main_thread_factory = NULL;
@@ -1097,11 +1088,6 @@
base::Bind(&DeviceOrientationHost::Create), io_task_runner);
GetInterfaceRegistry()->AddInterface(
base::Bind(&DeviceOrientationAbsoluteHost::Create), io_task_runner);
-
- if (memory_coordinator::IsEnabled()) {
- GetInterfaceRegistry()->AddInterface(
- base::Bind(&CreateMemoryCoordinatorHandle, GetID()));
- }
#if defined(OS_ANDROID)
ServiceRegistrarAndroid::RegisterProcessHostServices(
« no previous file with comments | « content/browser/memory/memory_coordinator_browsertest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698