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

Unified Diff: ash/mus/keyboard_ui_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_list_presenter_mus.cc ('k') | chrome/browser/chromeos/locale_change_guard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/keyboard_ui_mus.cc
diff --git a/ash/mus/keyboard_ui_mus.cc b/ash/mus/keyboard_ui_mus.cc
index b52fe59518c239c06a73b8e03f490991f8caacf8..4a7f1ab264af2391f882ff16b68170592b9706c6 100644
--- a/ash/mus/keyboard_ui_mus.cc
+++ b/ash/mus/keyboard_ui_mus.cc
@@ -6,6 +6,7 @@
#include "ash/common/keyboard/keyboard_ui_observer.h"
#include "base/memory/ptr_util.h"
+#include "content/public/common/service_names.mojom.h"
#include "services/service_manager/public/cpp/connector.h"
namespace ash {
@@ -14,7 +15,8 @@ KeyboardUIMus::KeyboardUIMus(service_manager::Connector* connector)
: is_enabled_(false), observer_binding_(this) {
if (connector) {
// TODO(sky): should be something like mojo:keyboard, but need mapping.
- connector->ConnectToInterface("content_browser", &keyboard_);
+ connector->ConnectToInterface(content::mojom::kBrowserServiceName,
+ &keyboard_);
keyboard_->AddObserver(observer_binding_.CreateInterfacePtrAndBind());
}
}
« no previous file with comments | « ash/mus/app_list_presenter_mus.cc ('k') | chrome/browser/chromeos/locale_change_guard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698