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

Side by Side Diff: chrome/browser/profiles/profile_info_cache.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/profiles/profile_info_cache.h" 5 #include "chrome/browser/profiles/profile_info_cache.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/i18n/case_conversion.h" 10 #include "base/i18n/case_conversion.h"
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 ++it) { 816 ++it) {
817 const base::DictionaryValue* info = NULL; 817 const base::DictionaryValue* info = NULL;
818 cache->GetDictionary(*it, &info); 818 cache->GetDictionary(*it, &info);
819 info->GetString(kNameKey, &name); 819 info->GetString(kNameKey, &name);
820 names.push_back(name); 820 names.push_back(name);
821 } 821 }
822 return names; 822 return names;
823 } 823 }
824 824
825 // static 825 // static
826 void ProfileInfoCache::RegisterPrefs(PrefService* prefs) { 826 void ProfileInfoCache::RegisterPrefs(PrefServiceSimple* prefs) {
827 prefs->RegisterDictionaryPref(prefs::kProfileInfoCache); 827 prefs->RegisterDictionaryPref(prefs::kProfileInfoCache);
828 } 828 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_info_cache.h ('k') | chrome/browser/profiles/profile_keyed_base_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698