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

Unified Diff: ash/mus/app_list_presenter_mus.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/mus/app_launch_unittest.cc ('k') | ash/mus/keyboard_ui_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/app_list_presenter_mus.cc
diff --git a/ash/mus/app_list_presenter_mus.cc b/ash/mus/app_list_presenter_mus.cc
index 49689ad9e35cb22b109f06f241d07d9b425dea09..9bb13fbf99566f98d53ea2570efc2e76cac3fbe8 100644
--- a/ash/mus/app_list_presenter_mus.cc
+++ b/ash/mus/app_list_presenter_mus.cc
@@ -4,6 +4,7 @@
#include "ash/mus/app_list_presenter_mus.h"
+#include "content/public/common/service_names.mojom.h"
#include "services/service_manager/public/cpp/connector.h"
namespace ash {
@@ -51,7 +52,8 @@ bool AppListPresenterMus::GetTargetVisibility() const {
void AppListPresenterMus::ConnectIfNeeded() {
if (!connector_ || HasConnection(&presenter_))
return;
- connector_->ConnectToInterface("content_browser", &presenter_);
+ connector_->ConnectToInterface(content::mojom::kBrowserServiceName,
+ &presenter_);
CHECK(HasConnection(&presenter_))
<< "Could not connect to app_list::mojom::AppListPresenter.";
}
« no previous file with comments | « ash/mus/app_launch_unittest.cc ('k') | ash/mus/keyboard_ui_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698