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

Unified Diff: chrome/browser/ui/ash/volume_controller.cc

Issue 2718043002: Replace more hardcoded "ash" strings with ash::mojom::kServiceName (Closed)
Patch Set: Remove ash_util includes that are no longer needed. Created 3 years, 10 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 | « chrome/browser/ui/ash/system_tray_client.cc ('k') | chrome/browser/ui/ash/vpn_list_forwarder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/volume_controller.cc
diff --git a/chrome/browser/ui/ash/volume_controller.cc b/chrome/browser/ui/ash/volume_controller.cc
index ea9eda2c1e5cc8f806ad1e23edfed20ab1be222b..04dc8c8a663008f24be68835586ef3e64419e45e 100644
--- a/chrome/browser/ui/ash/volume_controller.cc
+++ b/chrome/browser/ui/ash/volume_controller.cc
@@ -5,9 +5,9 @@
#include "chrome/browser/ui/ash/volume_controller.h"
#include "ash/public/interfaces/accelerator_controller.mojom.h"
+#include "ash/public/interfaces/constants.mojom.h"
#include "base/command_line.h"
#include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
-#include "chrome/browser/ui/ash/ash_util.h"
#include "chrome/grit/browser_resources.h"
#include "chromeos/audio/chromeos_sounds.h"
#include "chromeos/audio/cras_audio_handler.h"
@@ -42,7 +42,7 @@ VolumeController::VolumeController() : binding_(this) {
service_manager::Connector* connector =
content::ServiceManagerConnection::GetForProcess()->GetConnector();
ash::mojom::AcceleratorControllerPtr accelerator_controller_ptr;
- connector->BindInterface(ash_util::GetAshServiceName(),
+ connector->BindInterface(ash::mojom::kServiceName,
&accelerator_controller_ptr);
// Register this object as the volume controller.
« no previous file with comments | « chrome/browser/ui/ash/system_tray_client.cc ('k') | chrome/browser/ui/ash/vpn_list_forwarder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698