sync: fix reentrancy crash in ModelAssociationManager
Don't call OnTypesLoaded unless we're IDLE, since we could be in the middle of some
other process.
Add a CHECK to ensure we don't re-enter ModelAssociationManager::Initialize.
BUG=134550
TEST=trigger unrecoverable error with data type while data type configuration is in progress, don't crash.
Review URL: https://chromiumcodereview.appspot.com/10687002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144583 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed