summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service.cc
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 01:21:57 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 01:21:57 +0000
commit355e0aba31977ab663f2d5f0b6633d94803583f0 (patch)
tree914a59e4763b029fc01417c7d92f3c0a352438ed /chrome/browser/sync/profile_sync_service.cc
parent467bd1e30c54002be9a147478aa81d527e4296f8 (diff)
downloadchromium_src-355e0aba31977ab663f2d5f0b6633d94803583f0.zip
chromium_src-355e0aba31977ab663f2d5f0b6633d94803583f0.tar.gz
chromium_src-355e0aba31977ab663f2d5f0b6633d94803583f0.tar.bz2
sync: clear auth error on shutdown.
BUG=60814 TEST=Set up sync, enter wrong creds, Cancel, Set up sync again. Notice no error. Review URL: http://codereview.chromium.org/4211003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.cc')
-rw-r--r--chrome/browser/sync/profile_sync_service.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 3ee70f1..3123303 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -491,6 +491,7 @@ void ProfileSyncService::Shutdown(bool sync_disabled) {
backend_initialized_ = false;
observed_passphrase_required_ = false;
last_attempted_user_email_.clear();
+ last_auth_error_ = GoogleServiceAuthError::None();
}
void ProfileSyncService::ClearServerData() {