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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.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/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index ee6e4a4657404eb48c16d848b8c30ee8a8a7e65a..bfd8761c4a5d0fa3ebfd8a62b4b895beda0991ea 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -27,7 +27,7 @@
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
#include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h"
-#include "chrome/browser/chromeos/arc/arc_auth_service.h"
+#include "chrome/browser/chromeos/arc/arc_session_manager.h"
#include "chrome/browser/chromeos/customization/customization_document.h"
#include "chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen.h"
#include "chrome/browser/chromeos/login/enrollment/enrollment_screen.h"
@@ -564,7 +564,7 @@ void WizardController::ShowArcTermsOfServiceScreen() {
} else if (!user_manager::UserManager::Get()->IsUserLoggedIn()) {
VLOG(1) << "Skip Arc Terms of Service screen because user is not "
<< "logged in.";
- } else if (!arc::ArcAuthService::IsAllowedForProfile(profile)) {
+ } else if (!arc::ArcSessionManager::IsAllowedForProfile(profile)) {
VLOG(1) << "Skip Arc Terms of Service screen because Arc is not allowed.";
} else if (profile->GetPrefs()->IsManagedPreference(prefs::kArcEnabled) &&
!profile->GetPrefs()->GetBoolean(prefs::kArcEnabled)) {

Powered by Google App Engine
This is Rietveld 408576698