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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_presenter_service.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/chromeos/settings/shutdown_policy_forwarder.cc ('k') | chrome/browser/ui/ash/ash_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc b/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
index 1a706fb72ae04f3b4fd0a83a4fee14fcd59d21ff..15cd30ca515fbe7b3f7ef3bb055647b2835e099b 100644
--- a/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_presenter_service.cc
@@ -4,8 +4,8 @@
#include "chrome/browser/ui/ash/app_list/app_list_presenter_service.h"
+#include "ash/public/interfaces/constants.mojom.h"
#include "chrome/browser/ui/ash/app_list/app_list_service_ash.h"
-#include "chrome/browser/ui/ash/ash_util.h"
#include "content/public/common/service_manager_connection.h"
#include "services/service_manager/public/cpp/connector.h"
#include "ui/app_list/presenter/app_list_presenter_impl.h"
@@ -16,7 +16,7 @@ AppListPresenterService::AppListPresenterService() : binding_(this) {
if (connection && connection->GetConnector()) {
// Connect to the app list interface in the ash service.
app_list::mojom::AppListPtr app_list_ptr;
- connection->GetConnector()->BindInterface(ash_util::GetAshServiceName(),
+ connection->GetConnector()->BindInterface(ash::mojom::kServiceName,
&app_list_ptr);
// Register this object as the app list presenter.
app_list_ptr->SetAppListPresenter(binding_.CreateInterfacePtrAndBind());
« no previous file with comments | « chrome/browser/chromeos/settings/shutdown_policy_forwarder.cc ('k') | chrome/browser/ui/ash/ash_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698