| 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 7837f6892048879b952aa4b59205bdb5f37e9fe4..49e7365dcaaad37cd8a2a3c9620152a24de7231a 100644
|
| --- a/chrome/browser/profiles/profile_info_cache.cc
|
| +++ b/chrome/browser/profiles/profile_info_cache.cc
|
| @@ -215,7 +215,7 @@ void ProfileInfoCache::AddProfileToCache(const base::FilePath& profile_path,
|
| // Default value for whether background apps are running is false.
|
| info->SetBoolean(kBackgroundAppsKey, false);
|
| info->SetString(kManagedUserId, managed_user_id);
|
| - cache->Set(key, info.release());
|
| + cache->SetWithoutPathExpansion(key, info.release());
|
|
|
| sorted_keys_.insert(FindPositionForProfile(key, name), key);
|
|
|
| @@ -784,7 +784,7 @@ const DictionaryValue* ProfileInfoCache::GetInfoForProfileAtIndex(
|
| const DictionaryValue* cache =
|
| prefs_->GetDictionary(prefs::kProfileInfoCache);
|
| const DictionaryValue* info = NULL;
|
| - cache->GetDictionary(sorted_keys_[index], &info);
|
| + cache->GetDictionaryWithoutPathExpansion(sorted_keys_[index], &info);
|
| return info;
|
| }
|
|
|
| @@ -792,7 +792,7 @@ void ProfileInfoCache::SetInfoForProfileAtIndex(size_t index,
|
| DictionaryValue* info) {
|
| DictionaryPrefUpdate update(prefs_, prefs::kProfileInfoCache);
|
| DictionaryValue* cache = update.Get();
|
| - cache->Set(sorted_keys_[index], info);
|
| + cache->SetWithoutPathExpansion(sorted_keys_[index], info);
|
|
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_PROFILE_CACHED_INFO_CHANGED,
|
|
|