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

Unified Diff: chrome/utility/chrome_content_utility_client.cc

Issue 2470283002: Convert profile import IPCs to Mojo (Closed)
Patch Set: Merge Created 4 years 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/utility/BUILD.gn ('k') | chrome/utility/importer/external_process_importer_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/chrome_content_utility_client.cc
diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
index b30f9f4661ca176184a3f719c365207ca263557a..0d2d215b4679ba0adc9a6f197a620e75a7e72386 100644
--- a/chrome/utility/chrome_content_utility_client.cc
+++ b/chrome/utility/chrome_content_utility_client.cc
@@ -113,10 +113,6 @@ std::unique_ptr<service_manager::Service> CreateImageDecoderService() {
ChromeContentUtilityClient::ChromeContentUtilityClient()
: filter_messages_(false) {
-#if !defined(OS_ANDROID)
- handlers_.push_back(new ProfileImportHandler());
-#endif
-
#if BUILDFLAG(ENABLE_EXTENSIONS)
handlers_.push_back(new extensions::ExtensionsHandler(this));
handlers_.push_back(new image_writer::ImageWriterHandler());
@@ -208,6 +204,7 @@ void ChromeContentUtilityClient::ExposeInterfacesToBrowser(
registry->AddInterface<net::interfaces::ProxyResolverFactory>(
base::Bind(CreateProxyResolverFactory));
registry->AddInterface(base::Bind(CreateResourceUsageReporter));
+ registry->AddInterface(base::Bind(ProfileImportHandler::Create));
#endif
registry->AddInterface(
base::Bind(&safe_json::SafeJsonParserMojoImpl::Create));
« no previous file with comments | « chrome/utility/BUILD.gn ('k') | chrome/utility/importer/external_process_importer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698