Treat SyncCredentialsLost as an auth error
Break up AreCredentialsAvailable() into two routines, IsSyncEnabledAndLoggedIn() and IsSyncTokenAvailable().
ProfileSyncService now will start up the sync backend even if there's no sync token available. GetCredentials() will make up fake/invalid tokens for the sync backend to use, which will eventually yield an auth error for the user.


BUG=121755
TEST=see bug


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137359 0039d316-1c4b-4281-b951-d872f2087c98
9 files changed