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

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

Issue 23532034: Postpone loading about:flags ui until the certificates have been loaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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/parallel_authenticator.cc
diff --git a/chrome/browser/chromeos/login/parallel_authenticator.cc b/chrome/browser/chromeos/login/parallel_authenticator.cc
index 44aef966a9e5afce6873b8c6bf10b9db1e20d8ca..8891c4ec49ae5a39d4e4d93678877adb32a775a5 100644
--- a/chrome/browser/chromeos/login/parallel_authenticator.cc
+++ b/chrome/browser/chromeos/login/parallel_authenticator.cc
@@ -457,10 +457,11 @@ bool ParallelAuthenticator::VerifyOwner() {
}
void ParallelAuthenticator::OnOwnershipChecked(
- DeviceSettingsService::OwnershipStatus status,
- bool is_owner) {
+ DeviceSettingsService::OwnershipStatus status) {
// Now we can check if this user is the owner.
- user_can_login_ = is_owner;
+ // TODO(tbarzic): This is broken. At this point, DeviceSettingsService will
pastarmovj 2013/09/05 12:48:18 This used to be the case before though - the owner
tbarzic 2013/09/05 17:59:17 yep. I know.. that reminds me, I forgot to put a b
+ // never have private key loaded.
+ user_can_login_ = DeviceSettingsService::Get()->HasPrivateOwnerKey();
owner_is_verified_ = true;
Resolve();
}

Powered by Google App Engine
This is Rietveld 408576698