| Index: chrome/browser/profiles/profile_info_cache.cc
|
| diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc
|
| index 15acb5188ff299871f4fde7cd5d5d77af99ff913..a876404a6fe5f8eabe23614a6c80fa169ae86841 100644
|
| --- a/chrome/browser/profiles/profile_info_cache.cc
|
| +++ b/chrome/browser/profiles/profile_info_cache.cc
|
| @@ -97,6 +97,7 @@ ProfileInfoCache::~ProfileInfoCache() {
|
|
|
| void ProfileInfoCache::AddProfileToCache(const FilePath& profile_path,
|
| const string16& name,
|
| + const string16& username,
|
| size_t icon_index) {
|
| std::string key = CacheKeyFromProfilePath(profile_path);
|
| DictionaryPrefUpdate update(prefs_, prefs::kProfileInfoCache);
|
| @@ -104,6 +105,7 @@ void ProfileInfoCache::AddProfileToCache(const FilePath& profile_path,
|
|
|
| scoped_ptr<DictionaryValue> info(new DictionaryValue);
|
| info->SetString(kNameKey, name);
|
| + info->SetString(kUserNameKey, username);
|
| info->SetString(kAvatarIconKey, GetDefaultAvatarIconUrl(icon_index));
|
| cache->Set(key, info.release());
|
|
|
|
|