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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 2642783003: Move more utility functions to arc_util. (Closed)
Patch Set: address 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/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index b4ad845ac1a7ee377fa3d7d3c13933c61d43d93c..39b5604b3413c0469aa96a2eec0151c137864beb 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_session_manager.h"
+#include "chrome/browser/chromeos/arc/arc_util.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"
@@ -554,7 +554,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::ArcSessionManager::IsAllowedForProfile(profile)) {
+ } else if (!arc::IsArcAllowedForProfile(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)) {
« no previous file with comments | « chrome/browser/chromeos/file_manager/volume_manager.cc ('k') | chrome/browser/chromeos/note_taking_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698