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

Unified Diff: chrome/browser/chrome_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: revert some gpu changes 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
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 e1ac0da6189102ca53cbfc1457129729cc5854cd..f8af92a04931b0c22929199aa1e70f96b6998325 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -159,6 +159,7 @@
#include "content/public/common/content_descriptors.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/mojo_shell_connection.h"
#include "content/public/common/sandbox_type.h"
#include "content/public/common/url_utils.h"
#include "content/public/common/web_preferences.h"
@@ -2849,8 +2850,8 @@ void ChromeContentBrowserClient::RegisterInProcessMojoApplications(
#if defined(OS_CHROMEOS)
#if defined(MOJO_SHELL_CLIENT)
if (chrome::IsRunningInMash()) {
- content::MojoShellConnection::GetForProcess()->MergeService(
- base::WrapUnique(new chromeos::ChromeInterfaceFactory));
+ content::MojoShellConnection::GetForProcess()->AddConnectionFilter(
+ base::MakeUnique<chromeos::ChromeInterfaceFactory>());
}
#endif // MOJO_SHELL_CLIENT
#endif // OS_CHROMEOS
« no previous file with comments | « no previous file | chrome/browser/chromeos/chrome_interface_factory.h » ('j') | content/browser/gpu/gpu_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698