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

Unified Diff: services/navigation/content_client/content_browser_client.cc

Issue 2111353002: Move content's shell connections to the IO thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « services/navigation/BUILD.gn ('k') | services/navigation/navigation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/content_client/content_browser_client.cc
diff --git a/services/navigation/content_client/content_browser_client.cc b/services/navigation/content_client/content_browser_client.cc
index c59aead5d3d1f3ee0d36e5c1b253902312897366..744a4f3b3b6ee0d1f301b3df5105f74252ee8754 100644
--- a/services/navigation/content_client/content_browser_client.cc
+++ b/services/navigation/content_client/content_browser_client.cc
@@ -36,8 +36,8 @@ std::string ContentBrowserClient::GetShellUserIdForBrowserContext(
void ContentBrowserClient::RegisterInProcessMojoApplications(
StaticMojoApplicationMap* apps) {
- content::MojoShellConnection::GetForProcess()->MergeService(
- base::WrapUnique(new Navigation));
+ content::MojoShellConnection::GetForProcess()->AddConnectionFilter(
+ base::MakeUnique<Navigation>());
}
} // namespace navigation
« no previous file with comments | « services/navigation/BUILD.gn ('k') | services/navigation/navigation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698