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

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

Issue 2507073002: Split ArcSessionManager from ArcAuthService. (Closed)
Patch Set: Fix rebase mistake 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
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
index 2aaaf707ea975ed3af61ddcc8c004f0a21276efb..adab8a8350f032c538d6c6183b9f0339322fd9be 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
@@ -209,7 +209,7 @@ ChromeLauncherControllerImpl::ChromeLauncherControllerImpl(
AttachProfile(profile);
model_->AddObserver(this);
- if (arc::ArcAuthService::IsAllowedForProfile(this->profile()))
+ if (arc::ArcSessionManager::IsAllowedForProfile(this->profile()))
arc_deferred_launcher_.reset(new ArcAppDeferredLauncherController(this));
// In multi profile mode we might have a window manager. We try to create it
@@ -883,7 +883,7 @@ void ChromeLauncherControllerImpl::AttachProfile(Profile* profile_to_attach) {
new LauncherExtensionAppUpdater(this, profile()));
app_updaters_.push_back(std::move(extension_app_updater));
- if (arc::ArcAuthService::IsAllowedForProfile(profile())) {
+ if (arc::ArcSessionManager::IsAllowedForProfile(profile())) {
std::unique_ptr<LauncherAppUpdater> arc_app_updater(
new LauncherArcAppUpdater(this, profile()));
app_updaters_.push_back(std::move(arc_app_updater));

Powered by Google App Engine
This is Rietveld 408576698