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

Unified Diff: ash/common/new_window_client_proxy.cc

Issue 2509853002: Convert //mash to define service names in mojom (Closed)
Patch Set: . Created 4 years, 1 month 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 | « ash/common/accelerators/accelerator_controller.cc ('k') | ash/common/system/tray/system_tray_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/new_window_client_proxy.cc
diff --git a/ash/common/new_window_client_proxy.cc b/ash/common/new_window_client_proxy.cc
index 2d88488942c921ec64ac3ab2e7a5537928540dcd..42f0d3082745508fe63a1699171331c320481807 100644
--- a/ash/common/new_window_client_proxy.cc
+++ b/ash/common/new_window_client_proxy.cc
@@ -5,6 +5,7 @@
#include "ash/common/new_window_client_proxy.h"
#include "base/logging.h"
+#include "content/public/common/service_names.mojom.h"
#include "services/service_manager/public/cpp/connector.h"
namespace ash {
@@ -68,7 +69,7 @@ void NewWindowClientProxy::EnsureInterface() {
if (client_)
return;
- connector_->ConnectToInterface("content_browser", &client_);
+ connector_->ConnectToInterface(content::mojom::kBrowserServiceName, &client_);
client_.set_connection_error_handler(base::Bind(
&NewWindowClientProxy::OnClientConnectionError, base::Unretained(this)));
}
« no previous file with comments | « ash/common/accelerators/accelerator_controller.cc ('k') | ash/common/system/tray/system_tray_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698