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

Unified Diff: chrome/browser/ui/ash/vpn_list_forwarder.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
Index: chrome/browser/ui/ash/vpn_list_forwarder.cc
diff --git a/chrome/browser/ui/ash/vpn_list_forwarder.cc b/chrome/browser/ui/ash/vpn_list_forwarder.cc
index d0559ec975ef35e7ddc34ed679396c81098bf434..8a4e968f7fbad5ca2e1c83265e42472048442980 100644
--- a/chrome/browser/ui/ash/vpn_list_forwarder.cc
+++ b/chrome/browser/ui/ash/vpn_list_forwarder.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/ash/vpn_list_forwarder.h"
+#include "ash/public/interfaces/constants.mojom.h"
#include "ash/public/interfaces/vpn_list.mojom.h"
#include "base/bind.h"
#include "base/location.h"
@@ -12,7 +13,6 @@
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/ash/ash_util.h"
#include "components/user_manager/user.h"
#include "components/user_manager/user_manager.h"
#include "content/public/browser/notification_service.h"
@@ -46,7 +46,7 @@ ash::mojom::VpnListPtr ConnectToVpnList() {
ash::mojom::VpnListPtr vpn_list;
content::ServiceManagerConnection::GetForProcess()
->GetConnector()
- ->BindInterface(ash_util::GetAshServiceName(), &vpn_list);
+ ->BindInterface(ash::mojom::kServiceName, &vpn_list);
return vpn_list;
}
« no previous file with comments | « chrome/browser/ui/ash/volume_controller.cc ('k') | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698