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

Unified Diff: ash/common/wallpaper/wallpaper_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/common/system/tray/system_tray_controller.cc ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wallpaper/wallpaper_controller.cc
diff --git a/ash/common/wallpaper/wallpaper_controller.cc b/ash/common/wallpaper/wallpaper_controller.cc
index 45a62e42b0dbde7008ff099789ac733b314d3d6d..e68e1a15da823aa7be0ffe47bd9954e7b9f108b5 100644
--- a/ash/common/wallpaper/wallpaper_controller.cc
+++ b/ash/common/wallpaper/wallpaper_controller.cc
@@ -17,6 +17,7 @@
#include "base/logging.h"
#include "base/task_runner.h"
#include "components/wallpaper/wallpaper_resizer.h"
+#include "content/public/common/service_names.mojom.h"
#include "services/service_manager/public/cpp/connector.h"
#include "ui/display/manager/managed_display_info.h"
#include "ui/display/screen.h"
@@ -197,7 +198,8 @@ void WallpaperController::OpenSetWallpaperPage() {
return;
mojom::WallpaperManagerPtr wallpaper_manager;
- connector->ConnectToInterface("content_browser", &wallpaper_manager);
+ connector->ConnectToInterface(content::mojom::kBrowserServiceName,
+ &wallpaper_manager);
wallpaper_manager->Open();
}
« no previous file with comments | « ash/common/system/tray/system_tray_controller.cc ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698