| 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 bcb7ee27f25cbe72bb0b9ea2ecbdff596f4debf1..ed54de2ff86858e906946ab7d97c51e9d1c8c4f6 100644
|
| --- a/chrome/browser/profiles/profile_info_cache.cc
|
| +++ b/chrome/browser/profiles/profile_info_cache.cc
|
| @@ -857,23 +857,6 @@ const base::FilePath& ProfileInfoCache::GetUserDataDir() const {
|
| }
|
|
|
| // static
|
| -std::vector<base::string16> ProfileInfoCache::GetProfileNames() {
|
| - std::vector<base::string16> names;
|
| - PrefService* local_state = g_browser_process->local_state();
|
| - const base::DictionaryValue* cache = local_state->GetDictionary(
|
| - prefs::kProfileInfoCache);
|
| - base::string16 name;
|
| - for (base::DictionaryValue::Iterator it(*cache); !it.IsAtEnd();
|
| - it.Advance()) {
|
| - const base::DictionaryValue* info = NULL;
|
| - it.value().GetAsDictionary(&info);
|
| - info->GetString(kNameKey, &name);
|
| - names.push_back(name);
|
| - }
|
| - return names;
|
| -}
|
| -
|
| -// static
|
| void ProfileInfoCache::RegisterPrefs(PrefRegistrySimple* registry) {
|
| registry->RegisterDictionaryPref(prefs::kProfileInfoCache);
|
| }
|
|
|