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

Unified Diff: chrome/browser/ui/ash/system_tray_client.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/session_controller_client.cc ('k') | chrome/browser/ui/ash/volume_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/system_tray_client.cc
diff --git a/chrome/browser/ui/ash/system_tray_client.cc b/chrome/browser/ui/ash/system_tray_client.cc
index 311cc75e94c6b8fc5831431e7fed461fbf34562b..e0a663cf0c5f6c5bbba5eeebd1671dd6dbaac7a7 100644
--- a/chrome/browser/ui/ash/system_tray_client.cc
+++ b/chrome/browser/ui/ash/system_tray_client.cc
@@ -7,6 +7,7 @@
#include "ash/common/login_status.h"
#include "ash/common/wm_shell.h"
#include "ash/public/cpp/shell_window_ids.h"
+#include "ash/public/interfaces/constants.mojom.h"
#include "ash/shell.h"
#include "base/feature_list.h"
#include "base/logging.h"
@@ -86,7 +87,7 @@ ash::mojom::UpdateSeverity GetUpdateSeverity(UpgradeDetector* detector) {
SystemTrayClient::SystemTrayClient() : binding_(this) {
content::ServiceManagerConnection::GetForProcess()
->GetConnector()
- ->BindInterface(ash_util::GetAshServiceName(), &system_tray_);
+ ->BindInterface(ash::mojom::kServiceName, &system_tray_);
// Register this object as the client interface implementation.
system_tray_->SetClient(binding_.CreateInterfacePtrAndBind());
« no previous file with comments | « chrome/browser/ui/ash/session_controller_client.cc ('k') | chrome/browser/ui/ash/volume_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698