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

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

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/app_launch_controller.cc
diff --git a/chrome/browser/chromeos/login/app_launch_controller.cc b/chrome/browser/chromeos/login/app_launch_controller.cc
index eb33f14a2e702ad06c348fbec2471b9d4a4319f0..9c4920cf58e0fabdcaf142b62242448d515a6ba4 100644
--- a/chrome/browser/chromeos/login/app_launch_controller.cc
+++ b/chrome/browser/chromeos/login/app_launch_controller.cc
@@ -322,7 +322,7 @@ bool AppLaunchController::CanConfigureNetwork() {
return true;
}
- return !user_manager::UserManager::Get()->GetOwnerEmail().empty();
+ return !user_manager::UserManager::Get()->GetOwnerID().empty();
}
bool AppLaunchController::NeedOwnerAuthToConfigureNetwork() {

Powered by Google App Engine
This is Rietveld 408576698