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

Unified Diff: ash/common/accelerators/accelerator_controller.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/DEPS ('k') | ash/common/new_window_client_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/accelerators/accelerator_controller.cc
diff --git a/ash/common/accelerators/accelerator_controller.cc b/ash/common/accelerators/accelerator_controller.cc
index d1dd4fd05e6c6e195519f88cc4a4b79dbfd7fa30..3a19e4feb0f4a2c1642444f0886686c708863d1b 100644
--- a/ash/common/accelerators/accelerator_controller.cc
+++ b/ash/common/accelerators/accelerator_controller.cc
@@ -35,6 +35,7 @@
#include "ash/public/interfaces/new_window.mojom.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/user_metrics.h"
+#include "content/public/common/service_names.mojom.h"
#include "services/service_manager/public/cpp/connector.h"
#include "ui/base/accelerators/accelerator.h"
#include "ui/base/accelerators/accelerator_manager.h"
@@ -1166,7 +1167,7 @@ AcceleratorController::GetAcceleratorProcessingRestriction(int action) {
mojom::VolumeController* AcceleratorController::GetVolumeController() {
if (!volume_controller_ && WmShell::Get()->delegate()->GetShellConnector()) {
WmShell::Get()->delegate()->GetShellConnector()->ConnectToInterface(
- "content_browser", &volume_controller_);
+ content::mojom::kBrowserServiceName, &volume_controller_);
volume_controller_.set_connection_error_handler(
base::Bind(&AcceleratorController::OnVolumeControllerConnectionError,
base::Unretained(this)));
« no previous file with comments | « ash/DEPS ('k') | ash/common/new_window_client_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698