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

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

Issue 6538098: [Chrome OS] Owner keys are generated outside Chrome now; handle appropriately (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/chromeos/login/ownership_service_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager.cc
diff --git a/chrome/browser/chromeos/login/user_manager.cc b/chrome/browser/chromeos/login/user_manager.cc
index d296e09b10d0a76b443715c6a82f91872f090f39..8416815a7cf6a344bb395173da50544e4aa3f2b8 100644
--- a/chrome/browser/chromeos/login/user_manager.cc
+++ b/chrome/browser/chromeos/login/user_manager.cc
@@ -143,8 +143,8 @@ void UpdateOwnership(bool is_owner) {
// Checks current user's ownership on file thread.
void CheckOwnership() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
-
bool is_owner = OwnershipService::GetSharedInstance()->CurrentUserIsOwner();
+ VLOG(1) << "Current user " << (is_owner ? "is owner" : "is not owner");
// UserManager should be accessed only on UI thread.
BrowserThread::PostTask(
« no previous file with comments | « chrome/browser/chromeos/login/ownership_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698