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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: Restructure based on feedback Created 4 years, 3 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 4c4c03b5dfce0e2f746fc89a12f6cc06aee5231c..7e0d304a0ace749f9382e3fa59cdf060e416894e 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -3018,10 +3018,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
}

Powered by Google App Engine
This is Rietveld 408576698