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

Unified Diff: chrome/browser/chromeos/first_run/drive_first_run_controller.cc

Issue 718673002: New user type introduced. Combines regular and supervised features. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Logical expression fixed. Created 6 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/first_run/drive_first_run_controller.cc
diff --git a/chrome/browser/chromeos/first_run/drive_first_run_controller.cc b/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
index 29271ed13fec7469eaf1c7208c5ae43b2d35b5b1..af3e7f71b6bf9c7caa555feb4d3ac96676071927 100644
--- a/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
+++ b/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
@@ -360,7 +360,7 @@ void DriveFirstRunController::EnableOfflineMode() {
return;
}
- if (!user_manager::UserManager::Get()->IsLoggedInAsRegularUser()) {
+ if (!user_manager::UserManager::Get()->IsLoggedInAsUserWithGaiaAccount()) {
LOG(ERROR) << "Attempting to enable offline access "
"but not logged in a regular user.";
bartfab (slow) 2014/11/27 12:51:50 Nit: s/a regular/as a gaia/
OnOfflineInit(false, OUTCOME_WRONG_USER_TYPE);

Powered by Google App Engine
This is Rietveld 408576698