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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc

Issue 2642783003: Move more utility functions to arc_util. (Closed)
Patch Set: address review comments Created 3 years, 11 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/launcher/chrome_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
index 45e4e9da25c94d3914ab9d31356537e0846706b5..615f28212df9d3e713276ceebeff2e58ed3ac3da 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
#include "base/memory/ptr_util.h"
+#include "chrome/browser/chromeos/arc/arc_util.h"
#include "chrome/browser/extensions/extension_app_icon_loader.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/app_list/arc/arc_app_icon_loader.h"
@@ -142,7 +143,7 @@ void ChromeLauncherController::AttachProfile(Profile* profile_to_attach) {
profile_, extension_misc::EXTENSION_ICON_SMALL, this);
app_icon_loaders_.push_back(std::move(extension_app_icon_loader));
- if (arc::ArcSessionManager::IsAllowedForProfile(profile_)) {
+ if (arc::IsArcAllowedForProfile(profile_)) {
std::unique_ptr<AppIconLoader> arc_app_icon_loader =
base::MakeUnique<ArcAppIconLoader>(
profile_, extension_misc::EXTENSION_ICON_SMALL, this);

Powered by Google App Engine
This is Rietveld 408576698