sync: Don't sound the INVALID_GAIA_CREDENTIALS alarm if credentials are available.
sync: Don't sound the INVALID_GAIA_CREDENTIALS alarm if credentials are available.

Before this patch, ProfileSyncService would drop into an invalid gaia auth error state whenever it received NOTIFICATION_TOKEN_REQUEST_FAILED. That notification is fired even if a valid token exists in the TokenService and sync was (potentially) authenticated.

This patch takes a more conservative approach where we don't UpdateAuthErrorState if the token service has a token for chromiumsync, and rely on actual auth errors from the SyncBackend to tell us if that token is valid or not.

BUG=121913, 120479
TEST=verifying error messaging when reauthenticating / signing in / restarting while signed in.

Review URL: https://chromiumcodereview.appspot.com/9980020

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@130836 0039d316-1c4b-4281-b951-d872f2087c98

yitian134/chromium,ropik/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,ropik/chromium,ropik/chromium,ropik/chromium,adobe/chromium,adobe/chromium,ropik/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium