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

Unified Diff: chrome/browser/importer/external_process_importer_client.cc

Issue 2766263009: Convert content ConnectionFilter to OnBindInterface (Closed)
Patch Set: . Created 3 years, 8 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/importer/external_process_importer_client.cc
diff --git a/chrome/browser/importer/external_process_importer_client.cc b/chrome/browser/importer/external_process_importer_client.cc
index a5c2c6cb4fcdec5274c3b0712e7ffaf754302ce8..7c9a4064a5d4ed1c921929d51a12503b1cbe5e75 100644
--- a/chrome/browser/importer/external_process_importer_client.cc
+++ b/chrome/browser/importer/external_process_importer_client.cc
@@ -19,7 +19,6 @@
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/utility_process_host.h"
-#include "services/service_manager/public/cpp/interface_provider.h"
#include "ui/base/l10n/l10n_util.h"
using content::BrowserThread;
@@ -308,7 +307,7 @@ void ExternalProcessImporterClient::StartProcessOnIOThread(
utility_process_host->Start();
chrome::mojom::ProfileImportPtr profile_import;
- utility_process_host->GetRemoteInterfaces()->GetInterface(std::move(request));
+ BindInterface(utility_process_host, std::move(request));
}
void ExternalProcessImporterClient::CloseMojoHandles() {

Powered by Google App Engine
This is Rietveld 408576698