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); |
} |