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

Unified Diff: chrome/utility/chrome_content_utility_client.cc

Issue 2470283002: Convert profile import IPCs to Mojo (Closed)
Patch Set: Use correct int types Created 4 years, 1 month 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/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 92dc0712f0493c32a32c95d8e83b75cb37ad03a9..7e4c237c7eb5ca280fc58d9ecb5866856f724517 100644
--- a/chrome/utility/chrome_content_utility_client.cc
+++ b/chrome/utility/chrome_content_utility_client.cc
@@ -112,10 +112,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());
@@ -207,6 +203,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));

Powered by Google App Engine
This is Rietveld 408576698