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

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

Issue 2668153002: Revert of Move more utility functions to arc_util. (Closed)
Patch Set: 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 5159b6df9428a0d7b39b906a1639ee9e661f7d64..d7f6369d44ff74a78d4ad41dae86d6a94bc70724 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
@@ -6,7 +6,6 @@
#include "base/auto_reset.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"
@@ -148,7 +147,7 @@
profile_, extension_misc::EXTENSION_ICON_SMALL, this);
app_icon_loaders_.push_back(std::move(extension_app_icon_loader));
- if (arc::IsArcAllowedForProfile(profile_)) {
+ if (arc::ArcSessionManager::IsAllowedForProfile(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