Fix incorrect usage of ProfileInfoCache in GAIAInfoUpdateService: SetGAIANameOfProfil...
commit412e510b50e43d5a51311094b62555ae61739076
authortreib@chromium.org <treib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 9 Jul 2014 19:01:33 +0000 (9 19:01 +0000)
committertreib@chromium.org <treib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 9 Jul 2014 19:01:33 +0000 (9 19:01 +0000)
treec0f1323a5f233df16dcf9cfa3e2b68cc720a290e
parentb77a71ca0b83f75949d05e1b6dbb95ea28d334e6
Fix incorrect usage of ProfileInfoCache in GAIAInfoUpdateService: SetGAIANameOfProfileAtIndex may change the profile index.
Also add some warning comments in profile_info_cache.h.

BUG=372381

Review URL: https://codereview.chromium.org/373083002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282095 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/profiles/gaia_info_update_service.cc
chrome/browser/profiles/profile_info_cache.h