diff options
author | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 20:18:44 +0000 |
---|---|---|
committer | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 20:18:44 +0000 |
commit | b949bbd57810e40537f076b87ad033a23503dc13 (patch) | |
tree | ff90081bb2fe292dc31704fbb0cbc004a52ce9b0 /chrome/browser/sync/profile_sync_service.h | |
parent | 7f4115e8d29c516512758dc23ce1c1b3a1d9513f (diff) | |
download | chromium_src-b949bbd57810e40537f076b87ad033a23503dc13.zip chromium_src-b949bbd57810e40537f076b87ad033a23503dc13.tar.gz chromium_src-b949bbd57810e40537f076b87ad033a23503dc13.tar.bz2 |
[Sync UI] Clear the unrecoverable error state when stopping sync.
BUG=97544
TEST=Set up sync. Create an unrecoverable error. Stop sync. The sync status on chrome://settings/personal should no longer have an error.
Review URL: http://codereview.chromium.org/8343014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107422 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.h')
-rw-r--r-- | chrome/browser/sync/profile_sync_service.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h index 6b8c8bb..3405764 100644 --- a/chrome/browser/sync/profile_sync_service.h +++ b/chrome/browser/sync/profile_sync_service.h @@ -561,6 +561,8 @@ class ProfileSyncService : public browser_sync::SyncFrontend, void ClearStaleErrors(); + void ClearUnrecoverableError(); + // About-flags experiment names for datatypes that aren't enabled by default // yet. static std::string GetExperimentNameForDataType( |