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

Unified Diff: chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc

Issue 393343002: Rename "managed (mode|user)" to "supervised user" (part 7) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more alphabetize (and rebase again) Created 6 years, 5 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/supervised_user/chromeos/supervised_user_password_service_factory.cc
diff --git a/chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc b/chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc
index 415c03ccb8d471c70dcaaea9906584a38e835170..47144bc8a018e80061e14112c4264e941ea5f080 100644
--- a/chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc
+++ b/chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc
@@ -44,7 +44,7 @@ KeyedService* SupervisedUserPasswordServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const {
Profile* profile= static_cast<Profile*>(context);
User* user = ProfileHelper::Get()->GetUserByProfile(profile);
- if (user->GetType() != user_manager::USER_TYPE_LOCALLY_MANAGED)
+ if (user->GetType() != user_manager::USER_TYPE_SUPERVISED)
return NULL;
SupervisedUserPasswordService* result = new SupervisedUserPasswordService();
result->Init(

Powered by Google App Engine
This is Rietveld 408576698