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

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

Issue 14927015: Translate device-local account IDs to user IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix forward declaration. Created 7 years, 7 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/login_performer.cc
diff --git a/chrome/browser/chromeos/login/login_performer.cc b/chrome/browser/chromeos/login/login_performer.cc
index 605fe9a020c4a0617561e2962416ab384679d5d8..2c24f7b0cd95a1edf4d8c1656ca0857141b16a58 100644
--- a/chrome/browser/chromeos/login/login_performer.cc
+++ b/chrome/browser/chromeos/login/login_performer.cc
@@ -303,8 +303,7 @@ void LoginPerformer::LoginAsPublicAccount(const std::string& username) {
policy::DeviceLocalAccountPolicyService* policy_service =
g_browser_process->browser_policy_connector()->
GetDeviceLocalAccountPolicyService();
- if (!policy_service ||
- !policy_service->IsPolicyAvailableForAccount(username)) {
+ if (!policy_service || !policy_service->IsPolicyAvailableForUser(username)) {
DCHECK(delegate_);
if (delegate_)
delegate_->PolicyLoadFailed();
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller_browsertest.cc ('k') | chrome/browser/chromeos/login/user_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698