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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2738093003: Revert of memory-infra: Finish moving to Mojo (2nd attempt) (Closed)
Patch Set: Created 3 years, 9 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 | « chrome/browser/DEPS ('k') | components/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 0992952db07537e28d60f5eee47dd87b03c481f9..aa0fee8c2f08847b4a5645c8e42ef9096e57355b 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -197,7 +197,6 @@
#include "printing/features/features.h"
#include "services/image_decoder/public/interfaces/constants.mojom.h"
#include "services/preferences/public/interfaces/preferences.mojom.h"
-#include "services/resource_coordinator/memory/coordinator/coordinator_impl.h"
#include "services/service_manager/public/cpp/interface_provider.h"
#include "services/service_manager/public/cpp/interface_registry.h"
#include "services/service_manager/public/cpp/service.h"
@@ -3105,13 +3104,6 @@
base::Bind(&metrics::LeakDetectorRemoteController::Create),
ui_task_runner);
#endif
-
- registry->AddInterface(
- base::Bind(
- &memory_instrumentation::CoordinatorImpl::BindCoordinatorRequest,
- base::Unretained(
- memory_instrumentation::CoordinatorImpl::GetInstance())),
- ui_task_runner);
}
void ChromeContentBrowserClient::ExposeInterfacesToMediaService(
@@ -3209,15 +3201,6 @@
registry->AddInterface(
base::Bind(&metrics::CallStackProfileCollector::Create,
metrics::CallStackProfileParams::GPU_PROCESS));
-
- auto ui_task_runner = content::BrowserThread::GetTaskRunnerForThread(
- content::BrowserThread::UI);
- registry->AddInterface(
- base::Bind(
- &memory_instrumentation::CoordinatorImpl::BindCoordinatorRequest,
- base::Unretained(
- memory_instrumentation::CoordinatorImpl::GetInstance())),
- ui_task_runner);
}
void ChromeContentBrowserClient::RegisterInProcessServices(
« no previous file with comments | « chrome/browser/DEPS ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698