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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: rebase again Created 4 years, 2 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 | « chrome/app/mojo/chrome_manifest.json ('k') | chrome/browser/chrome_content_browser_manifest_overlay.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2c0ceec8b62143d0c429ebba845af7e5a557edf2..135a0ccca171dfc7600b12ebada6104a8afccd0a 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -3023,10 +3023,8 @@ void ChromeContentBrowserClient::RegisterInProcessMojoApplications(
apps->insert(std::make_pair("mojo:media", app_info));
#endif
#if defined(OS_CHROMEOS)
- if (chrome::IsRunningInMash()) {
- content::MojoShellConnection::GetForProcess()->AddConnectionFilter(
- base::MakeUnique<chromeos::ChromeInterfaceFactory>());
- }
+ content::MojoShellConnection::GetForProcess()->AddConnectionFilter(
+ base::MakeUnique<chromeos::ChromeInterfaceFactory>());
#endif // OS_CHROMEOS
}
« no previous file with comments | « chrome/app/mojo/chrome_manifest.json ('k') | chrome/browser/chrome_content_browser_manifest_overlay.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698