Store profile avatar to preferences
This change adds a preference to store avatar icons.
For this change I extended the idea of kProfileAvatarIconMap pref into a full blown class. The class is responsible for mantaining a list of sorted profiles that can be displayed without having to load profiles from disk.
Once this is chcked in there are several TODOs:
- remove the ProfileManager::GetNumberOfProfiles(), etc... functions that I added earlier
- add UI to customize the avatar icon
- create a single instance of the new ProfileInfoCache object some where. Maybe from ProfileManager?
BUG=
TEST=
Review URL: http://codereview.chromium.org/7155015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90622 0039d316-1c4b-4281-b951-d872f2087c98
9 files changed