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

Unified Diff: ash/common/system/tray/system_tray_controller.cc

Issue 2389133008: Mash: Replaces "exe:chrome" with "service:content_browser" (Closed)
Patch Set: rebase 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 | « no previous file | ash/mus/app_list_presenter_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray_controller.cc
diff --git a/ash/common/system/tray/system_tray_controller.cc b/ash/common/system/tray/system_tray_controller.cc
index f91ecfdb045989adb0d1022f06ebdfe3a7193987..7b9627711f5c9b5f0e56395776e171926d784a86 100644
--- a/ash/common/system/tray/system_tray_controller.cc
+++ b/ash/common/system/tray/system_tray_controller.cc
@@ -102,12 +102,8 @@ bool SystemTrayController::ConnectToSystemTrayClient() {
return true;
// Connect (or reconnect) to the interface.
- if (WmShell::Get()->IsRunningInMash()) {
- connector_->ConnectToInterface("exe:chrome", &system_tray_client_);
- } else {
- connector_->ConnectToInterface("service:content_browser",
- &system_tray_client_);
- }
+ connector_->ConnectToInterface("service:content_browser",
+ &system_tray_client_);
// Handle chrome crashes by forcing a reconnect on the next request.
system_tray_client_.set_connection_error_handler(base::Bind(
« no previous file with comments | « no previous file | ash/mus/app_list_presenter_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698