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

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

Issue 1412813003: This CL replaces user_manager::UserID with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@468875--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part2--user_names
Patch Set: Update after review. Created 5 years, 2 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..285c66f32a68262bd223c73a1b65f72eed6f036f 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()->GetOwnerAccountId().empty();
stevenjb 2015/10/23 17:17:02 This is weird, AccountId is no longer a string, ri
Alexander Alekseev 2015/10/23 23:21:22 Why cannot it be empty? We have a lot of code that
stevenjb 2015/10/26 18:28:00 I see now that AccountId has an empty() method. I
Alexander Alekseev 2015/10/27 20:34:21 Ok, I've changed this. But actually .empty() meth
stevenjb 2015/10/27 21:00:27 I guess I'm saying that adding empty() "specifical
}
bool AppLaunchController::NeedOwnerAuthToConfigureNetwork() {

Powered by Google App Engine
This is Rietveld 408576698