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

Unified Diff: chrome/browser/profiles/profile_manager.cc

Issue 12225046: [cros] Set profile pref for locally managed users (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 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
Index: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index d889d15a741312c9c4c14f78a76c82304995924a..108497826e8469614f38c863a197a66744aa3c76 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -481,6 +481,11 @@ void ProfileManager::CreateDefaultProfileAsync(const CreateCallback& callback) {
default_profile_dir = default_profile_dir.Append(
profile_manager->GetInitialProfileDir());
+ // Chrome OS specific note: since we pass string16() here as the icon_url,
+ // profile cache information will not get updated with the is_managed value
+ // so we're fine with passing all default values here.
+ // On Chrome OS |is_managed| preference will get initialized in
+ // Profile::CREATE_STATUS_CREATED callback.
profile_manager->CreateProfileAsync(
default_profile_dir, callback, string16(), string16(), false);
}
« chrome/browser/chromeos/login/login_utils.cc ('K') | « chrome/browser/chromeos/login/login_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698